kimono sharing

Download Kimono sharing

Post on 19-Jul-2015

125 views

Category:

Internet

4 download

Embed Size (px)

TRANSCRIPT

1

Kimono2015/02/25 Roger

Turn websites into structured APIs from your browser in seconds1

2

23

Turn websites into APIs in secondsYou don't need to write any code or install any software to extract data with Kimono.

34

5

6

67

78

8Price9

10

Getting Started

1011

Example:

11The Kimono API12

The API is RESTful and uses standard HTTP response codes to indicate errors. JSON will be returned in all responses from the API, including errors.

200 OK - everything worked as expected400 Bad request - you may have missing or invalid parameters401 Unauthorized - invalid API key404 Not found - Requested resource not found500 Server error - something went wrong on our end12GET kimonoapis/{API_ID}?apikey={YOUR_API_KEY}13Retrieve an API

https://www.kimonolabs.com/kimonoapis/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU13GET kimonoapis?apikey={YOUR_API_KEY}14List all APIs

https://www.kimonolabs.com/kimonoapis?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU14POST kimonoapis/{API_ID}/update -d {DATA}15Set target url

POST x-www-form-urlencoded(apikey,targeturl) https://www.kimonolabs.com/kimonoapis/ds775knc/update

apikey FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbUtargeturl http://www.cwb.gov.tw/V7/observe/real/46766.htm15POST kimonoapis/{API_ID}/update -d {DATA}16Set frequency

POST x-www-form-urlencoded(apikey,frequency) https://www.kimonolabs.com/kimonoapis/ds775knc/update

apikey FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbUfrequency [quarterhourly,halfhourly,hourly,daily,weekly,monthly]16POST kimonoapis/{API_ID}/update -d {DATA}17Set crawl limit

POST x-www-form-urlencoded(apikey, crawllimit) https://www.kimonolabs.com/kimonoapis/ds775knc/update

apikey FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbUcrawllimit 10

17POST kimonoapis/{API_ID}/update -d {DATA}18Set crawl urls

POST x-www-form-urlencoded(apikey, urls[]) https://www.kimonolabs.com/kimonoapis/ds775knc/update

apikey FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbUurls http://www.cwb.gov.tw/V7/observe/real/46744.htmurls http://www.cwb.gov.tw/V7/observe/real/46766.htm18POST kimonoapis/{API_ID}/startcrawl -d {DATA}19Start crawl

POST x-www-form-urlencoded(apikey) https://www.kimonolabs.com/kimonoapis/ds775knc/startcrawl

apikey FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU19/api/{VERSION}/{API_ID}20API Params - Versions

GET https://www.kimonolabs.com/api/0/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU20/api/csv/{API_ID}21API Params - CSV

GET https://www.kimonolabs.com/api/csv/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU21/api/csv/{API_ID}?kimnoheaders={VALUE}22API Params No Headers

GET https://www.kimonolabs.com/api/csv/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimnoheaders=122/api/rss/{API_ID}23API Params RSS

GET https://www.kimonolabs.com/api/rss/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU23/api/{API_ID}?kimlimit={LIMIT}24API Params Limit

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimlimit=1024/api/{API_ID}?kimoffset={OFFSET}25API Params Offset

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimoffset=1025/api/{API_ID}?kimbypage=126API Params By Page

GET https://www.kimonolabs.com/api/7ym5iq08?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimbypage=126/api/{API_ID}?kimwithurl=127API Params With URL

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimwithurl=127/api/{API_ID}?kimindex=128API Params Index

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimindex=128/api/{API_ID}?kimhash=129API Params Hash

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimhash=129/api/{API_ID}?kimseries=130API Params Time series

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimseries=130/api/{API_ID}?kimstats=131API Params Stats

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimstats=131/api/{API_ID}?kimmodify=132API Params Modify

GET https://www.kimonolabs.com/api/ds775knc?apikey=FwiyJVpqnUCDBeQ1erKn4j5jaY1XuAbU&kimmodify=13233

API Detail

34

Download data into Google Spreadsheets

3435

Embed in your site

36Create a mobile app

KimonoApps are responsive HTML5 web apps, powered by data from kimono APIs.

KimonoApps have their own URLs and are hosted on our servers.

They can be shared with and used by anyone, not just Kimono users

3637

Setting up email alerts

Email alerts are triggered by kimono every time the data that your API is monitoring changes as long as there is one or more emails added to the email alerts manager in the API detail page.

Alert emails will be sent from Kimono Labs [kimonolabs@kimonolabs.com] with the subject "Your kimono API {API_NAME} has new data".

3738

Scraping data from behind a log-in

3839

Sorry. Something went wrong and we couldn't create an API from this page. A bug report has been created.You can download thejson,csvorrssversion of the data you just extracted, but it won't be saved to your kimono account.

3940

Cases: Pop-up!

41

Cases: Crawl from other API!

4142

Cases: !

https://www.google.com.tw/search?hl=zh-TW&tbm=isch&q=4243

Cases: 4344

Cases: Select from multi pages

45

Cases: Kimono API with jQuery

4546

Cases: Can't select videos

4647

Q & A