To try and make this a little more clear.  You're basically requesting
the information from their webservers using a customized url.

A RESTful service you can actually use from a web browser, for
example... on Twitter Search you can get your results in JSON by doing
this.

http://search.twitter.com/search?q=iPhone

turns into this:

http://search.twitter.com/search.json?q=iPhone

Which will return the data your looking for in a format called JSON
(JavaScript Object Notation).

So to clarify on what I said earlier.  You can get this data into your
flash application using URLLoader.  Just set the URL to where the JSON
data is and then request it.

When you get a result back, you will have a REALLY long String of data
that you want to drill into. That's where as3corelib and it's
JSON.parse() method steps in. You pass JSON.parse() a String and it
returns an Object.

You can then drill into that Object to get the relevant data that you need.

Those Java and Ruby files are just wrappers for making calls to
Blip.tv web services.  Unfortunately there isn't a wrapper (library)
for ActionScript.

Hopefully that makes it a bit more clear, I wasn't trying to be rude
earlier, after re-reading my emails I may have come across that way.
I apologize.

Cheers,
Nate

On Thu, Jun 18, 2009 at 8:00 PM, Nate Beck<n...@tldstudio.com> wrote:
> From developer wiki that I referenced in my previous post... "You may
> be particularly interested in the main blip.tv API, which is built on
> the back of open standards like RSS and JSON."
>
> Blip.tv has a RESTful JSON API which you can call from Flash.
>
> To do this you would setup a URLRequest and URLLoader to make a call
> to get the desired data you want. Then using something like JSON
> Parser included in the as3corelib
> (http://code.google.com/p/as3corelib/), you can parse the results.
>
> A great tutorial of this technique can be found here:
> http://www.cakesgood.com/2009/04/flash-cs3-actionscript-30-json-keep-it_3277.html
>
> That being said... I don't believe anyone has written a library which
> makes use of the blip.tv API yet.  You can be the first!
>
> Cheers,
> Nate
>
> On Thu, Jun 18, 2009 at 6:49 PM, Fabio Pinatti<fpina...@gmail.com> wrote:
>> I think I'm either being a little stupid or I didn't get how that api can
>> work with flash. I see just some zips with java and weird extension files,
>> but no way to call/integrate them from flash. That's the kind of api I asked
>> for, since it's a flash forum. ;)
>>
>> Clear now? Thanks!
>>
>> On Thu, Jun 18, 2009 at 7:35 PM, Nate Beck <n...@tldstudio.com> wrote:
>>
>>> Did you try... http://www.google.com/search?q=blip.tv+api
>>>
>>> First one on there.
>>>
>>> On Thu, Jun 18, 2009 at 5:33 AM, Fabio Pinatti<fpina...@gmail.com> wrote:
>>> > Dear Coders,
>>> >
>>> > I'm wondering if exists some api similar to youtube, to get blip.tv (
>>> > http://blip.tv/) videos..
>>> >
>>> > Some advice?
>>> >
>>> > Thank you
>>> >
>>> > --
>>> > Fabio Pinatti
>>> > :: web.developer
>>> > :::: www.pinatti.com.br
>>> > :::::: 19. 9184.3745 / 3342.1130
>>> > _______________________________________________
>>> > Flashcoders mailing list
>>> > Flashcoders@chattyfig.figleaf.com
>>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> >
>>>
>>>
>>>
>>> --
>>>
>>> Cheers,
>>> Nate
>>> ----------------------------------------
>>> http://blog.natebeck.net
>>> _______________________________________________
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>>
>>
>> --
>> Fabio Pinatti
>> :: web.developer
>> :::: www.pinatti.com.br
>> :::::: 19. 9184.3745 / 3342.1130
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
>
> Cheers,
> Nate
> ----------------------------------------
> http://blog.natebeck.net
>



-- 

Cheers,
Nate
----------------------------------------
http://blog.natebeck.net

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to