Request

GET https://v2.api.uberflip.com/hubs
curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/hubs
import requests

headers = {
    'Authorization': 'Bearer [Token]',
}

response = requests.get('https://v2.api.uberflip.com/hubs', headers=headers)
// Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://v2.api.uberflip.com/hubs');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');


$headers = array();
$headers[] = 'Authorization: Bearer [Token]';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
var request = require('request');

var headers = {
    'Authorization': 'Bearer [Token]'
};

var options = {
    url: 'https://v2.api.uberflip.com/hubs',
    headers: headers
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);

Request Parameters

Query Parameters

Description

query

Return only results containing the specified text in one or more of the following fields:

  • name
  • url

limit

Number of results to return

page

Page to show

sort

Sort results by one or more of the following fields:

  • id
  • name
  • introduction
  • description
  • stream_count
  • created_at
  • modified_at

Note: Add - before the value to have the response returned in descending/reverse-alphabetical order.