Socket
Socket
Sign inDemoInstall

cinergy-content-api

Package Overview
Dependencies
50
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cinergy-content-api

Unofficial Cinergy Content API SDK


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
2.75 MB
Created
Weekly downloads
 

Readme

Source

cinergy-content-api

Unofficial Cinergy Content API SDK

The supported endpoints are:

- movies
    - images
    - posters
    - trailers
- distributors
- shows
- theatres
    - shows
- genres
- reviews

installation

npm i cinergy-content-api

build status

Build Status

usage

Set up the client

var apiClient = api = new CinergyAPI('my-secret-cinergy-token');

get movies, start at offset 2, return 2 movies per call, use the pager

apiClient.movies().offset(2).limit(2).list(function(err, movies, pager) {
    // first set of movies

    pager.next(function(err, movies, pager) {
        // next set of movies
    });
});

get the teathre with the id 852

apiClient.theatres(852).list(function(err, movies) {
    
});

get images for the movie with the id 78765

apiClient.movies(78765).images().list(function(err, images, pager) {
    
});

Keywords

FAQs

Last updated on 10 Mar 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc