Explore Streams

Endpoints:

Explore streams are pre-built searches with some simple criteria.

GET /channels/streams/explore

Scope: none

Retrieve a list of explore streams.

Example
curl "https://api.pnut.io/v1/channels/streams/explore" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a list of explore streams.

{
    "meta": {
        "code": 200
    },
    "data": [
        {
            "description": "String",
            "slug": "String",
            "title": "String",
            "url": "https://example.com"
        }
    ]
}

GET /channels/streams/explore/{slug}

Scope: none

Retrieve a list of channels in an explore stream.

URL Parameters

Name Description
slug Slug of the stream to retrieve channels from. Retrieve slugs to use from the previous call.
Example
curl "https://api.pnut.io/v1/channels/streams/explore/conversations?count=1" \
    -H "Authorization: Bearer ${ACCESS_TOKEN}" \
    -H "X-Pretty-Json: 1"

Returns a list of channels.

{
    "meta": {
        "more": true,
        "max_id": "0",
        "min_id": "0",
        "code": 200
    },
    "data": [
        {"...Channel Object..."}
    ]
}