Skip to content

Google Cloud Function for Manchester Metrolink Tram API

License

Notifications You must be signed in to change notification settings

ayubmalik/tramsfunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tramsfunc

A Google Cloud Plaform (GCP) function to provide Transport for Greater Manchester (TFGM) Metrolink tram information.

This function is not intended for end users. Rather it provides the backend API, so that clients can call it without having to register their own TFGM API key.

To deploy this function into GCP a TFGM API key is needed.

Running locally

This project uses Function Frameworks to run the function locally.

# start local server
TFGM_API_KEY='some api key' go run cmd/local-server/main.go
# call the API
curl http://localhost:8080/tramsfunc

About

Google Cloud Function for Manchester Metrolink Tram API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published