« Back to Flocknote API Documentation home
Get a particular network
GET /networks/[id]
Accessing the network object with a particular id returns the following JSON, which includes the network's information as well as an array of the Network's lists, with list information:
{
"id" : "246",
"type" : "network",
"title" : "Example Network",
"description" : "Description of example network.",
"owner" : "112",
"picture" :
{
"large" : "http:\/\/www.flocknote.com\/path\/to\/picture.png",
"medium" : "http:\/\/www.flocknote.com\/path\/to\/picture.png",
"small" : "http:\/\/www.flocknote.com\/path\/to\/picture.png"
},
"lists" :
[
{
"id" : "294",
"type" : "list",
"title" : "List Title (Master)",
...etc.
}
]
}Example — Get a Network using Flocknote's SDK for PHP:
require_once('flocknote.php'); if ($flocknote = new Flocknote(APINAME, APIKEY)) { // Set the username and password for this request. $flocknote->setUserCredentials(USERNAME, PASSWORD); // Get a network. $network = $flocknote->getNetwork(246); }