Adapter for use on Google Cloud Platform, AWS Lambda or Docker. Upload Zip and use trigger URL as bridge endpoint.
git clone email@example.com:OracleFinder/CMCExternalAdapter.git
zip -r cl-cmc.zip
Adapter can be deployed in Docker container as server within linux instance or ran as serverless adapter as function inside GCP or AWS.
Create a cloud function in GCP or Lambda, and set the handler function according to the platform you are using.
REMEMBER TO set the environment variable API_KEY to your CoinMarketCap API Key!
docker build . -t cmcadaptor docker run -d \ --name cmcadaptor \ -p 80:80 \ -e PORT=80 \ -e API_KEY=<YOUR CMC API KEY> \ cmcadaptor