The GraphQL API for finding Tesla Superchargers, destination chargers, stores, and service centers.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db Remove BaiduGeo from Supercharger and Locations Nov 4, 2016
pkg
public
script Add migrating to setup tasks Nov 12, 2016
sync Try new cmd Oct 31, 2016
testdata
vendor
.env
.gitignore
.travis.yml
MIT-LICENSE
Procfile
README.md
main.go

README.md

Superchargers.io

The GraphQL API for finding Tesla Superchargers, destination chargers, stores, and service centers.

Setup

To run Superchargers.io locally just pull down the project:

go get -u github.com/wattapp/superchargers

Run script/setup:

$ script/setup
Checking for dependencies
Fetching required packages
Superchargers.io is ready to go, run:
script/server

What is Superchargers.io?

Superchargers.io is a GraphQL API to programmatically find Tesla Stores, Superchargers, Destination Chargers, and Service centers.

You can filter locations by specific countries, regions, bounding box, or whether or not the location is open for use.

What is GraphQL?

Originally developed by Facebook, GraphQL is described as:

GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

I've never written a GraphQL query before, do you have any examples?

Why of course!

In the GraphiQL interactive query editor provided by Superchargers.io, you can use autocomplete and the provided documentation to help craft your queries. If you need any help please open an issue on the GitHub issue tracker or tweet at @garrettb on Twitter.

How often are the locations updated?

The locations are updated daily at 00:00 UTC

Are you affiliated with Tesla?

Superchargers.io is in no way affiliated with Tesla, Inc. Site names, logos, and images are copyright of Tesla, Inc.

Something is broken, where can I report it?

You can report issues to the GitHub issue tracker or directly to @garrettb on Twitter.

How can I support Superchargers.io?

  • Develop a client that consumes Superchargers.io in your favorite language and share it with the repository
  • Report any issues to the GitHub issue tracker
  • Tell your developer friends about the service
  • Even if you just found it useful or informative, tweet at @garrettb to let me know

Copyright

Copyright © 2016 Garrett Bjerkhoel. See MIT-LICENSE for details.