jheri-curl

0.0.1 • Public • Published

Jheri-Curl

JSL + CURL = WTF

Mashup of JSON Lint (special thanks to the team at jsonlint.com) and CURL. Useful when running CURL against JSON APIs.

Install

sudo npm install jheri-curl -g

Usage

jcurl http://api.twitter.com/1/statuses/public_timeline.json

Returns

[
    {
        "contributors": null,
        "place": null,
        "id_str": "136170502657024000",
        "favorited": false,
        "in_reply_to_user_id": null,
        "geo": null,
        "user": {
            [...]
        },
        "retweet_count": 0,
        "in_reply_to_screen_name": null,
        "coordinates": null,
        "in_reply_to_status_id": null,
        "retweeted": false,
        "in_reply_to_status_id_str": null,
        "truncated": false,
        "source": "\u003Ca href=\"http:\/\/blackberry.com\/twitter\" rel=\"nofollow\"\u003ETwitter for BlackBerry\u00ae\u003C\/a\u003E",
        "created_at": "Mon Nov 14 19:55:52 +0000 2011",
        "id": 136170502657024000,
        "in_reply_to_user_id_str": null,
        "text": "Morgen laatste twee uurtjes vrij (: Maar 4 uur dus. #hellyeah"
    },
    [...]
]

Test

vows test/*

Readme

Keywords

none

Package Sidebar

Install

npm i jheri-curl

Weekly Downloads

0

Version

0.0.1

License

GPOL

Last publish

Collaborators

  • thisandagain