Publicly Accessible API

242 views
Skip to first unread message

Roy

unread,
Apr 28, 2011, 4:29:20 PM4/28/11
to Granicus Developers
One of the cool things about Google's API for Maps is that it allows
anyone to create awesome mashups. This kind of open API supports
innovation of their product in ways Google couldn't dream of.

It would be really cool to create an API that was publicly accessible
(requiring an API key that can be auto-generated for requests from a
certain domain).

The API would look something like this:

http://api.granicus.com/request.php?key={apikey}&type=video&location={clientid}&keywords={keywords}

It could return JSON string like:

{ "video" :
{
"id" : "32451",
"location" : "San Francisco",
"title" : "City Council Meeting",
"date" : "2010-11-09 15:45:21",
"runtime" : "12:11",
"description" : "City Council Discusses Parking Permits",
"wmv" : "http://sf.granicus.com/video/
23197840357048974nc3247.wmv",
"mp4" : "http://sf.granicus.com/video/
23197840357048974nc3247.mp4",
"mp3" : "http://sf.granicus.com/video/
23197840357048974nc3247.mp3"
},
{
"id" : "56454",
"location" : "San Francisco",
"title" : "City Council Meeting",
"date" : "2011-11-06 11:25:20",
"runtime" : "10:51",
"description" : "City Council Discusses Parking Structures",
"wmv" : "http://sf.granicus.com/video/3489257203498h534.wmv",
"mp4" : "http://sf.granicus.com/video/3489257203498h534.mp4",
"mp3" : "http://sf.granicus.com/video/3489257203498h534.mp3"
}
}

Just thinking out loud!

Feel free to expound upon this.

Ryan Wold

unread,
Apr 28, 2011, 5:16:28 PM4/28/11
to granicus-...@googlegroups.com
Roy,

Great idea!  For now, check out: http://www.granicus.com/Support/Developers.aspx.

--
Ryan Wold

Javier Muniz

unread,
Apr 28, 2011, 5:22:14 PM4/28/11
to <granicus-developers@googlegroups.com>, granicus-...@googlegroups.com
Also, govflix.com has a prototype API that we are working on. It's subject to change at any time without notice but feedback is welcome!

Roy

unread,
Apr 28, 2011, 5:28:53 PM4/28/11
to Granicus Developers
This is reallllly cool. I'll check this out.

On Apr 28, 2:22 pm, Javier Muniz <jav...@granicus.com> wrote:
> Also, govflix.com<http://govflix.com> has a prototype API that we are working on. It's subject to change at any time without notice but feedback is welcome!
>
> On Apr 28, 2011, at 2:16 PM, "Ryan Wold" <ryanjw...@gmail.com<mailto:ryanjw...@gmail.com>> wrote:
>
> Roy,
>
> Great idea!  For now, check out: <http://www.granicus.com/Support/Developers.aspx>http://www.granicus.com/Support/Developers.aspx.
>
> On Thu, Apr 28, 2011 at 1:29 PM, Roy <<mailto:roymcken...@gmail.com>roymcken...@gmail.com<mailto:roymcken...@gmail.com>> wrote:
> One of the cool things about Google's API for Maps is that it allows
> anyone to create awesome mashups.  This kind of open API supports
> innovation of their product in ways Google couldn't dream of.
>
> It would be really cool to create an API that was publicly accessible
> (requiring an API key that can be auto-generated for requests from a
> certain domain).
>
> The API would look something like this:
>
> <http://api.granicus.com/request.php?key={apikey}&type=video&location={clientid}&keywords={keywords}>http://api.granicus.com/request.php?key={apikey}&type=video&location={clientid}&keywords={keywords}
>
> It could return JSON string like:
>
> { "video" :
>  {
>     "id" : "32451",
>     "location" : "San Francisco",
>     "title" : "City Council Meeting",
>     "date" : "2010-11-09 15:45:21",
>     "runtime" : "12:11",
>     "description" : "City Council Discusses Parking Permits",
>     "wmv" : "<http://sf.granicus.com/video/>http://sf.granicus.com/video/
> 23197840357048974nc3247.wmv",
>     "mp4" : "<http://sf.granicus.com/video/>http://sf.granicus.com/video/
> 23197840357048974nc3247.mp4",
>     "mp3" : "<http://sf.granicus.com/video/>http://sf.granicus.com/video/
> 23197840357048974nc3247.mp3"
>  },
>  {
>     "id" : "56454",
>     "location" : "San Francisco",
>     "title" : "City Council Meeting",
>     "date" : "2011-11-06 11:25:20",
>     "runtime" : "10:51",
>     "description" : "City Council Discusses Parking Structures",
>     "wmv" : "<http://sf.granicus.com/video/3489257203498h534.wmv>http://sf.granicus.com/video/3489257203498h534.wmv",
>     "mp4" : "<http://sf.granicus.com/video/3489257203498h534.mp4>http://sf.granicus.com/video/3489257203498h534.mp4",
>     "mp3" : "<http://sf.granicus.com/video/3489257203498h534.mp3>http://sf.granicus.com/video/3489257203498h534.mp3"

Bradley Grzesiak

unread,
Aug 18, 2013, 2:41:29 PM8/18/13
to granicus-...@googlegroups.com, roymc...@gmail.com
What's the status on something like govflix.com? It currently just returns a Rails-style 404.

Javier Muniz

unread,
Aug 18, 2013, 3:27:37 PM8/18/13
to granicus-...@googlegroups.com
Hi Bradley,

govflix is still alive and well, it's just been moved to http://search.granicus.com/api  

you can get simple docs at http://search.granicus.com/help/api 

If you have any questions or need help with it, just give us a shout!

-javier

From: granicus-...@googlegroups.com [granicus-...@googlegroups.com] on behalf of Bradley Grzesiak [list...@gmail.com]
Sent: Sunday, August 18, 2013 11:41 AM
To: granicus-...@googlegroups.com
Cc: roymc...@gmail.com
Subject: Re: Publicly Accessible API

--
You received this message because you are subscribed to the Google Groups "Granicus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to granicus-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages