Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oahu

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oahu

OahuClient

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by350%
Maintainers
1
Weekly downloads
 
Created
Source

#Oahu Client

This is a Oahu Client for Node.js
It uses a few modules to ensure smooth functionality.

  • Redis for client-side caching
  • Underscore.js for syntactic sugar
  • yaml for configuration file parsing

##Installation npm install oahu

##Usage

var Oahu = require("oahu");
Oahu.parseConfig('./example/config.yml').setConfig('debug',true);

Oahu.listMovies(null,function(response){
  console.log("ListMovies", response);
})

Oahu.getMovie('movie_id_or_slug',function(response){
  console.log("GetMovie", response);
})

Oahu.getPublicationsFor('movie_id_or_slug',function(response){
  console.log("Get Publications For movie",response)
}, true);

##Example config.yml

---
	  oahu_host:        'api.oahu.fr'
	  connect_host:     'connect.oahu.fr'
	  client_id:        'CLIENT_ID_HERE'
	  pub_account_id:   'DEFAULT_PUB_ACCOUNT_ID'
	  consumer_id:      'YOUR_CONSUMER_ID_HERE'
	  consumer_secret:  'YOUR_CLIENT_SECRET_HERE'
	  no_cache:         false
	  expires_in:       3800
	  debug:            false


	

FAQs

Package last updated on 04 Sep 2011

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc