tswfi / ebirdieclient
Client for eBirdie api
v0.0.3
2022-04-04 09:50 UTC
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: 9.*
README
PHP client for talking with eBirdie soap service.
https://packagist.org/packages/tswfi/ebirdieclient
Usage
- Get wsdl url with basic auth information if required
- Get ebirdie username and password
See more examples
Initialize client
In this example the values are read from environment variables but of course you can set them however you like
$client = new Client(getenv('EBIRDIE_WSDL'), getenv('EBIRDIE_LOGIN'), getenv('EBIRDIE_PASS'));
Running tests
Tests read wsdl, user and key from environment variables
EBIRDIE_WSDL=https://USER:PASS@stage.uhs.golf.fi/docs/eBirdie_API-2_1_1/ns0.wsdl EBIRDIE_LOGIN=username EBIRDIE_PASS=apikey
EBIRDIE_WSDL=https://USER:PASS@stage.uhs.golf.fi/docs/eBirdie_API-2_1_1/ns0.wsdl EBIRDIE_LOGIN=username EBIRDIE_PASS=apikey ./vendor/bin/phpunit tests