gracenote-api-scripts
Gracenote API scripts
https://github.com/joelparkerhenderson/gracenote-api-scripts
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
Gracenote API scripts
Basic Info
- Host: GitHub
- Owner: joelparkerhenderson
- Language: Shell
- Default Branch: main
- Size: 115 KB
Statistics
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Gracenote API to get theatres, movies, showings

These scripts connect to the Gracenote API to get information about theatres, movies, showings, programs, celebrities, and the like.
The API uses REST and JSON, and these scripts use the commands curl and jq to manage data.
These scripts are NOT authored by Gracenote. These scripts are independent implementations of the Gracenote free public API. These scripts are good for introductory learning, simple demonstrations, and generally getting up to speed with the API. These scripts are not intended to be production quality.
See the Gracenote Developer site and API Explorer tool
What is the Gracenote API?
These scripts use the Gracenote "OnConnect Data Delivery APIs".
The API provides URIs that look like this:
http://data.tmsapi.com/v1.1/movies/showings
?api_key=abcdefghijklmnops
&zip=10017
&startDate=2017-08-01
The URI is a typical RESTful method with these pieces:
- Entry point "http://data.tmsapi.com"
- Semantic version number "v1.1"
- RESTful nested method "movies/showings"
- Query string with the API key and filters.
How to get started?
Get your own Gracenote developer account and API key:
http://data.tmsapi.com/
Verify that your API key works by trying curl:
curl 'http://data.tmsapi.com/v1.1/movies/showings?api_key=12345678&zip=10017&startDate=2017-08-01'`
IMPORTANT: export your API key to your shell environment:
$ export GRACENOTE_API_KEY=12345678
What is the location?
The API needs the movies showings request to provide a location, by using a U.S. zip (a.k.a. postal code) or latitude and longitude.
Our examples use this location:
- Grand Central Station in New York City
- Street address: 89 E 42nd St, New York, NY 10017
- Postal code: 10017
- Latitude: 40.7527
- Longitude -73.9772
Help
If you get error messages about GRACENOTEAPIKEY needed:
Be sure you have set your own key in your own shell environment.
Example:
export GRACENOTE_API_KEY=12345678
If you get error messages about a command missing, such as "curl" or "jq":
Be sure you have the command installed.
Example:
curl http://google.comExample:
jq --help
If you get error messages about API rate limiting:
Are you trying to make more calls faster than the free public plan allows?
Be sure you edited the script to use your own API key, not the demo API key.
Try waiting a minute then try just 1 call.
If you want to work with the JSON, such as filtering it:
One way to handle JSON and format it is to use the
jqcommand.To learn
jqplease see https://stedolan.github.io/jq/
If you need more help, please open an issue and we'll take a look.
Tracking
- Package: gracenoteapiscripts
- Version: 3.3.0
- Created: 2017-08-22
- Updated: 2017-09-14
- License: GPL
- Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)
Owner
- Name: Joel Parker Henderson
- Login: joelparkerhenderson
- Kind: user
- Location: California
- Website: http://www.joelparkerhenderson.com
- Repositories: 319
- Profile: https://github.com/joelparkerhenderson
Software developer. Technology consultant. Creator of GitAlias.com, NumCommand.com, SixArm.com, and many open source projects.
Citation (CITATION.cff)
cff-version: 1.2.0
title: Gracenote API to get theatres, movies, showings
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/joelparkerhenderson/gracenote-api-scripts/'
description: Gracenote API to get theatres, movies, showings
repository-code: 'https://github.com/joelparkerhenderson/gracenote-api-scripts/'
abstract: >-
Gracenote API to get theatres, movies, showings
license: See license file
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 73 |