surfoo / geocaching-php-sdk Goto Github PK
View Code? Open in Web Editor NEWPHP 7/8 implementation of the Groundspeak's REST API
Home Page: http://geocaching.vaguelibre.net/api/
License: MIT License
PHP 7/8 implementation of the Groundspeak's REST API
Home Page: http://geocaching.vaguelibre.net/api/
License: MIT License
Hello
im getting error;
PHP Fatal error: Class 'Geocaching\OAuth\OAuth' not found in index.php on line 38
any fixes ?
Greetings
Do you plan to update to the new API v1?
https://api.groundspeak.com/documentation#change-log
Hi,
First of all this script is great, thanks.
However i'm having a few issues that i don't understand. If i use it 'straight out of the box' (on a live server) i get back the following message:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php on line 329
Fatal error: Uncaught exception 'Exception' with message '28' in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php:334 Stack trace: #0 /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php(206): Geocaching\OAuth\OAuth->curl_request('http://staging....') #1 /home/mrmemeco/public_html/geo/index.php(50): Geocaching\OAuth\OAuth->getRequestToken() #2 {main} thrown in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php on line 334
If i use it in the same way but on a localhost is get back HTTP error: 0 and no data is returned.
I've done a bit of googling and i have checked that safe mode is off but I've had no joy still.
Wondered if anyone could help here. Thanks
Hi,
On this page http://www.geocaching.com/mobile/apidevelopers/, GeoCaching says that the new requests for API access is closed.
Do you have a solution to use OAuth authentication?
feat-v4 only is installable with the current instructions by "chance".
{
"name": "test/foo",
"require": {
"surfoo/geocaching-php-sdk": "dev-feat-v4"
}
}
$ composer update
...
$ composer why guzzlehttp/guzzle
league/oauth2-client 2.7.0 requires guzzlehttp/guzzle (^6.0 || ^7.0)
while the oauth2-client will probably always need a psr client, this is a rather indirect way. if you require php-http/discovery in your require section, the discovery plugin will install a client if none is already installed.
it should then also be possible to remove the require-dev for php-http/curl-client (unless you need specifically that one for mocking, i did not check that)
The demo site isn't working anymore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.