Unfortunately, the API this data source wraps is unstable to the point of being unusable. This data source is also not compatible with the 1.x format of GrAMPS, so it should not be used. You've been warned.
GrAMPS GraphQL Data Source for the IMDB API
Look up trailers, ratings, and other information about movies from the IMDB API.
This is a GrAMPS data source for GraphQL.
TKTK
NOTE: Replace all instances of YOUR_DATA_SOURCE_NAME
with the actual name you want to use (e.g. data-source-companyname-datatype
).
# Clone the repo
git clone [email protected]:gramps-graphql/data-source-imdbapi.git data-source-YOUR_DATA_SOURCE_NAME
# Move into it
cd data-source-imdbapi/
# Install dependencies
yarn install
Start the app with the following command:
# Develop with mock data
yarn mock-data
Once you’ve got your data source configured to load live data, you can enable live data in development:
# Develop with live data
yarn live-data
Currently, there is no watch capability (PRs welcome!), so the service needs to be stopped (control
+ C
) and restarted (yarn [mock-data|live-data]
) to reflect new changes to the data source.