Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

smartcontractkit/bea-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BEA Adapter

Run in Docker

  • make docker and run
make docker
docker run -p 8080:8080 -e API_KEY=<yourapikey> bea-adapter

Run in Lambda

  • Install packages
go install
  • Build the binary
GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o cl-bea
  • Zip the binary
zip cl-bea.zip cl-bea
  • Upload to Lambda, use cl-bea as your handler
  • Add the value for the API_KEY environment variable
  • Enable Lambda support by setting the LAMBDA environment variable to 1

Configuration

Key Description
API_KEY Your BEA API key
LAMBDA Set to 1

Methods

This adapter will by default get the average of the 3 latest monthly DPCERG values. No input parameters are required.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published