Junar api

17
24/1/2012 Developing the Caribbean

description

Explanation of the Junar and the API

Transcript of Junar api

Page 1: Junar api

24/1/2012Developing the Caribbean

Page 2: Junar api

What is Junar?

Open Data platform to discover and use data

Page 3: Junar api

What can you do in Junar?

• Search for Data

• Extract data from webpages or webfiles

• Create Dashboards

• Add open and dynamic data to office tools (G Spreadsheet

Excel)

• Integrate open data into applications (API)

Page 4: Junar api

Live Demo….cross your fingers…

Page 5: Junar api

Getting a developers key

Junar.com/developers

Page 6: Junar api

My API information

Page 7: Junar api

My API information

• Wiki: http://wiki.junar.com/index.php/API

• Wrappers:– Python (https://github.com/joaquinnunez/junar-api-python-client)– PHP (https://github.com/joaquinnunez/junar-api-php-client)– Java (https://github.com/msalgado/junar-api-java-client)– Node JS (https://github.com/seykron/junar-javascript-sdk)

Page 8: Junar api

Junar’s API

Current version of the API is 1.0

The API supports HTTP/REST protocols and it is organized in the following modules:

• Methods for searching dashboards and data streams.• Methods for accessing a particular dashboard or

data stream object properties.• Methods for invoking data streams .

Page 9: Junar api

Junar’s API Outputs

Current supported formats:• JSON• JSON array• CSV• TSV• Excel• Pretty JSON• XML

Page 10: Junar api

Junar’s API Limitations

• Trial accounts => 1 request / 5 seconds• Total API calls => 1000 / month

Page 11: Junar api

Junar’s API Invoking

To be able to call our you need:• Junar API Key

And in the case of invoking Dashboards or Data Streams:• GUID

The GUID is used to identify your Dashboard or Data Stream when you need to call it externally from Junar.

Page 12: Junar api

Junar’s API Invoking

Page 13: Junar api

Junar’s API Invoking

Page 14: Junar api

Sample code snippets

You can find code snippets and all our API wrappers

here:

• http://wiki.junar.com/index.php/API#Snippets_of_code_and_API_Wrappers

Page 15: Junar api

New features!

• New XML output format• New Data Stream parameter options:– pLimit : Integer , records per page– pPage : Integer, page index starting at 0

• If params missing return will be a 404.

Page 16: Junar api

[email protected] | @Junar | Skype: junar.support / junar.dev

Page 17: Junar api

[email protected] | @Junar | Skype: junar.support / junar.dev