Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md small readme fixes September 18, 2012
Octocat-spinner-32 newscoop.js fix iterating over order October 08, 2012
README.md

Newscoop API JS-SDK

Newscoop is the open content management system for professional journalists.

Features for the modern newsroom include multiple author management, issue-and-section based publishing, geolocation and multilingual content management. The enterprise-standard journalist’s dashboard and a templating engine supporting anything from HTML5 to mobile complete this fast production and publishing system.

This library allows for access to Newscoop REST API (codename gimme).

Installation

<script src="newscoop.js"></script>

Usage

var api = new NewscoopRestApi('http://newscoop.dev/api');

api.getResource('/articles', {'type': 'news'})
    .setItemsPerPage(5)
    .setOrder({'number': 'asc'})
    .makeRequest(function(res){
        // callback
    });

More Information

Sdk makes XMLHttpRequest to apiEndpoint, make sure that apiEndpoint have your host in "access-control-allow-origin" response header.

Read the Newscoop REST API documentation for more information.

License

Newscoop API JS-SDK is licensed under the GPL3 license.

Something went wrong with that request. Please try again.