solodynamo / geocaching-api-demo

Demo of the Geocaching Api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geocaching SDK PHP Demo

Try the demo

composer install

Edit the file app/config.php with your OAuth keys, callback URL and environment (staging or production)

Your callback URL must be authorized by Groundspeak, you need to contact the support (http://localhot:8000 is a good example for your development).

Run the server

just run the following script:

./run-server.sh

and then, open your browser on http://localhost:8000

The code written index.php is an example of implementation of the OAuth process (inspired by the example of thephpleague) and the SDK for the Geocaching API, feel free to modify it for your needs.

Generate the documentation

php sami.phar update sami.php

About

Demo of the Geocaching Api

License:MIT License


Languages

Language:HTML 97.5%Language:PHP 1.6%Language:CSS 0.9%Language:Shell 0.0%