Parsing Flickr XML

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Parsing Flickr XML

Shinobu Suzumura
(Lasso 8.1.0)

Hello all,

I am trying to get values from Flickr XML some like this.

(var: 'flickr_xml') = (xml_tree: '

        <?xml version="1.0" encoding="utf-8" ?>
        <rsp stat="ok">
        <sizes canblog="0" canprint="0" candownload="1">
        <size label="Thumbnail"
source="http://farm1.static.flickr.com/178/____t.jpg" />
        <size label="Small"
source="http://farm1.static.flickr.com/178/____m.jpg" />
        <size label="Medium" source="http://farm1.static.flickr.com/178/___.jpg" />
        </sizes>
        </rsp>

');

(var: 'flickr_data') = $flickr_xml -> sizes -> size;

(var: 'flickr_map') = map;

iterate: $flickr_data, (var: 'temp');

        $flickr_map -> insert: $temp -> label = $temp -> source;

/iterate;

But this won't return any value.
Please help.



Shinobu Suzumura

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

jasonhuck
Because ->size is already a valid member tag, you have to use
->getnode('size') instead. This works for me:

[
        var('flickr_xml') = xml_tree('\
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
        <sizes canblog="0" canprint="0" candownload="1">
       <size label="Thumbnail"
source="http://farm1.static.flickr.com/178/____t.jpg" />
       <size label="Small"
source="http://farm1.static.flickr.com/178/____m.jpg" />
       <size label="Medium"
source="http://farm1.static.flickr.com/178/___.jpg" />
        </sizes>
</rsp>
        ');

        var('flickr_data') = $flickr_xml->sizes->getnode('size');
        var('flickr_map') = map;
       
        iterate($flickr_data, var('temp'));
                $flickr_map->insert($temp->label = $temp->source);
        /iterate;
       
        $flickr_map;
]


Alternatively, if you're doing a lot of stuff with Flickr, you might
want to check out this custom type by Pieter Claerhout that implements
the Flickr API in Lasso:

http://tagswap.net/shp_FlickrAPI


- Jason






On Jan 3, 2008 2:45 PM, Jeff Lebowski <[hidden email]> wrote:

> (Lasso 8.1.0)
>
> Hello all,
>
> I am trying to get values from Flickr XML some like this.
>
> (var: 'flickr_xml') = (xml_tree: '
>
>         <?xml version="1.0" encoding="utf-8" ?>
>         <rsp stat="ok">
>         <sizes canblog="0" canprint="0" candownload="1">
>         <size label="Thumbnail"
> source="http://farm1.static.flickr.com/178/____t.jpg" />
>         <size label="Small"
> source="http://farm1.static.flickr.com/178/____m.jpg" />
>         <size label="Medium" source="http://farm1.static.flickr.com/178/___.jpg" />
>         </sizes>
>         </rsp>
>
> ');
>
> (var: 'flickr_data') = $flickr_xml -> sizes -> size;
>
> (var: 'flickr_map') = map;
>
> iterate: $flickr_data, (var: 'temp');
>
>         $flickr_map -> insert: $temp -> label = $temp -> source;
>
> /iterate;
>
> But this won't return any value.
> Please help.
>
>
>
> Shinobu Suzumura
>
> --
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>



--
tagSwap.net :: Open Source Lasso Code
<http://tagSwap.net/>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

Shinobu Suzumura
Jason,

Thanks for your reply.

> Because ->size is already a valid member tag, you have to use
> ->getnode('size') instead. This works for me:

That makes sense.
Really appreciate it.



Shinobu Suzumura

> [
> var('flickr_xml') = xml_tree('\
> <?xml version="1.0" encoding="utf-8" ?>
> <rsp stat="ok">
> <sizes canblog="0" canprint="0" candownload="1">
>        <size label="Thumbnail"
> source="http://farm1.static.flickr.com/178/____t.jpg" />
>        <size label="Small"
> source="http://farm1.static.flickr.com/178/____m.jpg" />
>        <size label="Medium"
> source="http://farm1.static.flickr.com/178/___.jpg" />
> </sizes>
> </rsp>
> ');
>
> var('flickr_data') = $flickr_xml->sizes->getnode('size');
> var('flickr_map') = map;
>
> iterate($flickr_data, var('temp'));
> $flickr_map->insert($temp->label = $temp->source);
> /iterate;
>
> $flickr_map;
> ]
>
>
> Alternatively, if you're doing a lot of stuff with Flickr, you might
> want to check out this custom type by Pieter Claerhout that implements
> the Flickr API in Lasso:
>
> http://tagswap.net/shp_FlickrAPI
>
>
> - Jason

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

Kerry Adams-2
Let me explain something to you. Um, I am not "Mr. Lebowski". You're Mr.
Lebowski. I'm the Dude. So that's what you call me. You know, that or,
uh, His Dudeness, or uh, Duder, or El Duderino if you're not into the
whole brevity thing.


Jeff Lebowski wrote:

> Jason,
>
> Thanks for your reply.
>
>> Because ->size is already a valid member tag, you have to use
>> ->getnode('size') instead. This works for me:
>
> That makes sense.
> Really appreciate it.
>
>
>
> Shinobu Suzumura
>
>> [
>>     var('flickr_xml') = xml_tree('\
>> <?xml version="1.0" encoding="utf-8" ?>
>> <rsp stat="ok">
>>     <sizes canblog="0" canprint="0" candownload="1">
>>        <size label="Thumbnail"
>> source="http://farm1.static.flickr.com/178/____t.jpg" />
>>        <size label="Small"
>> source="http://farm1.static.flickr.com/178/____m.jpg" />
>>        <size label="Medium"
>> source="http://farm1.static.flickr.com/178/___.jpg" />
>>     </sizes>
>> </rsp>
>>     ');
>>
>>     var('flickr_data') = $flickr_xml->sizes->getnode('size');
>>     var('flickr_map') = map;
>>    
>>     iterate($flickr_data, var('temp'));
>>         $flickr_map->insert($temp->label = $temp->source);
>>     /iterate;
>>    
>>     $flickr_map;
>> ]
>>
>>
>> Alternatively, if you're doing a lot of stuff with Flickr, you might
>> want to check out this custom type by Pieter Claerhout that implements
>> the Flickr API in Lasso:
>>
>> http://tagswap.net/shp_FlickrAPI
>>
>>
>> - Jason
>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

Viaduct Productions
Get some sleep, Dude.


On Jan 4, 2008, at 1:27 PM, Kerry Adams wrote:

> Let me explain something to you. Um, I am not "Mr. Lebowski".  
> You're Mr. Lebowski. I'm the Dude. So that's what you call me. You  
> know, that or, uh, His Dudeness, or uh, Duder, or El Duderino if  
> you're not into the whole brevity thing.


Cheers

Rich in Toronto


--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Tutorials on using Lasso to talk to API?

kimonostereo
Hi again,

I was wondering if there are any folks out there who have played with  
the Twitter API and could point me to any tutorials on how to work  
with it.
I'm a newbie but wouldn't mind trying to play with that and lasso to  
see if I can build something.

I'm trying to create a page similar to http://overheard.it/ but with a  
different twist.

aloha!
\\scott\\
------------
Take a break and read a web comic ~
nemu*nemu - smiles to go!
http://nemu-nemu.com /




--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

jasonhuck
I have the entire Twitter API for Lasso finished, I just haven't
gotten around to posting it on tagSwap.net yet.

I'll try to get it up there sometime soon.

- jason




On Jan 4, 2008 2:41 PM, Scott Yoshinaga <[hidden email]> wrote:

> Hi again,
>
> I was wondering if there are any folks out there who have played with
> the Twitter API and could point me to any tutorials on how to work
> with it.
> I'm a newbie but wouldn't mind trying to play with that and lasso to
> see if I can build something.
>
> I'm trying to create a page similar to http://overheard.it/ but with a
> different twist.
>
> aloha!
> \\scott\\
> ------------
> Take a break and read a web comic ~
> nemu*nemu - smiles to go!
> http://nemu-nemu.com /
>
>
>
>
> --
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>



--
tagSwap.net :: Open Source Lasso Code
<http://tagSwap.net/>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

kimonostereo
Thats cool! I'd love to see what you've done.
I hope there are some notes too?

Any tutorial suggestions on working with the API?
aloha!
\\scott\\
------------
Take a break and read a web comic ~
nemu*nemu - smiles to go!
http://nemu-nemu.com /



On Jan 4, 2008, at 9:43 AM, Jason Huck wrote:

> I have the entire Twitter API for Lasso finished, I just haven't
> gotten around to posting it on tagSwap.net yet.
>
> I'll try to get it up there sometime soon.
>
> - jason
>
>
>
>
> On Jan 4, 2008 2:41 PM, Scott Yoshinaga <[hidden email]> wrote:
>> Hi again,
>>
>> I was wondering if there are any folks out there who have played with
>> the Twitter API and could point me to any tutorials on how to work
>> with it.
>> I'm a newbie but wouldn't mind trying to play with that and lasso to
>> see if I can build something.
>>
>> I'm trying to create a page similar to http://overheard.it/ but  
>> with a
>> different twist.
>>
>> aloha!
>> \\scott\\
>> ------------
>> Take a break and read a web comic ~
>> nemu*nemu - smiles to go!
>> http://nemu-nemu.com /
>>
>>
>>
>>
>> --
>> This list is a free service of LassoSoft: http://www.LassoSoft.com/
>> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
>> Manage your subscription: http://www.ListSearch.com/Lasso/
>>
>>
>
>
>
> --
> tagSwap.net :: Open Source Lasso Code
> <http://tagSwap.net/>
>
> --
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>


--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

Fletcher Sandbeck-3
On 1/4/08 at 11:03 AM, [hidden email] (Scott Yoshinaga) wrote:

>Thats cool! I'd love to see what you've done.
>I hope there are some notes too?
>
>Any tutorial suggestions on working with the API?

I haven't looked at Twitter, but several of the Tips of the Week
demonstrate how to talk to an API using Lasso.

Google Checkout is a good high level example.
<http://www.lassosoft.com/Documentation/TotW/index.lasso?9158>

Google Base is another example.
<http://www.lassosoft.com/Documentation/TotW/index.lasso?9204>

And then there's a whole series of lower-level examples including:

DNS Lookup Tags,
<http://www.lassosoft.com/Documentation/TotW/index.lasso?8350>

Network Tags and Internet Protocols,
<http://www.lassosoft.com/Documentation/TotW/index.lasso?8420>

Bit Formatting,
<http://www.lassosoft.com/Documentation/TotW/index.lasso?8443>

and Pasring Byte Streams and Internet Protocols.
<http://www.lassosoft.com/Documentation/TotW/index.lasso?8487>

Hope this helps,

[fletcher]

--
Fletcher Sandbeck                         [hidden email]
LassoSoft, LLC                          http://www.lassosoft.com


--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

Jonathan Guthrie-5
In reply to this post by Kerry Adams-2
Good to see ya back on deck, Dude.
I'll raise a brew to ya in a minute :)

On 05/01/2008, at 7:27 AM, Kerry Adams wrote:

> Let me explain something to you. Um, I am not "Mr. Lebowski". You're  
> Mr. Lebowski. I'm the Dude. So that's what you call me. You know,  
> that or, uh, His Dudeness, or uh, Duder, or El Duderino if you're  
> not into the whole brevity thing.


Jono

// ---------------------------------------------------------
/*
     Jonathan Guthrie
     xServe Ltd, Wellington NZ
     [hidden email]   |   http://xserve.co.nz
     DDI +64 4 978 7388   |   Mob +64 21 678890

*/
// ---------------------------------------------------------



--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

jasonhuck
In reply to this post by Fletcher Sandbeck-3
I've just posted it:

http://tagswap.net/twitter/

This is actually one of the easiest REST-based API's I've worked with,
due to the fact that it supports JSON. Thanks to that, Fletcher's
excellent JSON library for Lasso does most of the post-processing for
me!

In addition to the list that Fletcher provided, you'll find a lot of
ways to work with different API's on tagSwap:

http://tagswap.net/search/?kwd=API

HTH,
Jason




On Jan 4, 2008 5:23 PM, Fletcher Sandbeck <[hidden email]> wrote:

> On 1/4/08 at 11:03 AM, [hidden email] (Scott Yoshinaga) wrote:
>
> >Thats cool! I'd love to see what you've done.
> >I hope there are some notes too?
> >
> >Any tutorial suggestions on working with the API?
>
> I haven't looked at Twitter, but several of the Tips of the Week
> demonstrate how to talk to an API using Lasso.
>
> Google Checkout is a good high level example.
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?9158>
>
> Google Base is another example.
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?9204>
>
> And then there's a whole series of lower-level examples including:
>
> DNS Lookup Tags,
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?8350>
>
> Network Tags and Internet Protocols,
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?8420>
>
> Bit Formatting,
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?8443>
>
> and Pasring Byte Streams and Internet Protocols.
> <http://www.lassosoft.com/Documentation/TotW/index.lasso?8487>
>
> Hope this helps,
>
> [fletcher]
>
> --
> Fletcher Sandbeck                         [hidden email]
> LassoSoft, LLC                          http://www.lassosoft.com
>
>
>
> --
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>



--
tagSwap.net :: Open Source Lasso Code
<http://tagSwap.net/>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML (Solved) NOT...

Shinobu Suzumura
In reply to this post by jasonhuck
Hi again.

Parsing Flickr XML went well for me then, thank you.
But I have difficulties with codings.

I am trying to make a custom tag, "ctag_flickr" which
can change the string "[tag_flickr id="photo_id"]" to
appropriate html tags with Flickr API.

-------------------------
define_tag: 'ctag_flickr',

        -required = 'text',
        -encodenone;

        (local: 'text_flickr') = '';
        (local: 'flickr_id') = '\\2';

        (local: 'text_flickr') =
                (string_replaceregexp:
                        (local: 'text'),
                        -find = '(\\[tag\\_flickr id=\")(.+?)(\"\\])',
                        -replace = (include: 'flickr.inc')
                );

        return: (local: 'text_flickr');

/define_tag;
-------------------------

flickr.inc
-------------------------
(local: 'flickr_key') = 'flickr_key';

(local: 'flickr_response') = (include_url:
'http://api.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key=' 
+ (encode_url: (local: 'flickr_key')) + '&photo_id=' + (local:
'flickr_id'));

(local: 'flickr_xml_temp') = (xml: (local: 'flickr_response'));

(local: 'flickr_xml') = (xml_tree: (local: 'flickr_xml_temp'));

(local: 'flickr_status_temp') = (local: 'flickr_xml') -> atts;

(local: 'flickr_status') = (local: 'flickr_status_temp') -> (find: 'stat');

if: (local: 'flickr_status') == 'ok';

        (local: 'flickr_data') = (local: 'flickr_xml') -> sizes -> getnode('size');

        (local: 'flickr_map') = map;

        iterate: (local: 'flickr_data'), (local: 'flickr_temp');

                (local: 'flickr_map') -> (insert: (local: 'flickr_temp') -> label =
(local: 'flickr_temp') -> source);

        /iterate;

        (local: 'flickr_small') = (local: 'flickr_map') -> (find: 'Small');

        '<p><img src="' + (local: 'flickr_small') + '" alt="Flickr | ' +
(local: 'flickr_id') + '" /></p>';

else;

        (local: 'flickr_error_temp') = (local: 'flickr_xml') -> err -> atts;

        (local: 'flickr_error') = (local: 'flickr_error_temp') -> (find: 'code');

        (local: 'flickr_error_message') = (local: 'flickr_error_temp') ->
(find: 'msg');

        '<p>Flickr error (' + (local: 'flickr_error') + ') : ' + (local:
'flickr_error_message') + ' (' + (local: 'flickr_id') + ')</p>';

/if;
-------------------------

flickr.inc itself can work ok if I define like
(local: 'flickr_id') = '966316936';

But it keeps returning Error code 1 (Photo not found)
if I put it in the custom tag.

Please tell me what is wrong with my codings.

Thank you.



Shinobu Suzumura



Oh yes, The Big Lebowski is still the best movie ever.

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

Lieven Gekiere-2
In reply to this post by jasonhuck
Works great, except for the direct messaging to a user...

$t->new(-user='xxxxxx', -text='Sent from Lasso. Let me know if you get this.');

should be :

$t->new_direct(-user='xxxxxx', -text='Sent from Lasso. Let me know if
you get this.');




Lieven


On Jan 5, 2008 2:12 AM, Jason Huck <[hidden email]> wrote:

> I've just posted it:
>
> http://tagswap.net/twitter/
>
> This is actually one of the easiest REST-based API's I've worked with,
> due to the fact that it supports JSON. Thanks to that, Fletcher's
> excellent JSON library for Lasso does most of the post-processing for
> me!
>
> In addition to the list that Fletcher provided, you'll find a lot of
> ways to work with different API's on tagSwap:
>
> http://tagswap.net/search/?kwd=API
>
> HTH,
> Jason
>
>
>
>
>
> On Jan 4, 2008 5:23 PM, Fletcher Sandbeck <[hidden email]> wrote:
> > On 1/4/08 at 11:03 AM, [hidden email] (Scott Yoshinaga) wrote:
> >
> > >Thats cool! I'd love to see what you've done.
> > >I hope there are some notes too?
> > >
> > >Any tutorial suggestions on working with the API?
> >
> > I haven't looked at Twitter, but several of the Tips of the Week
> > demonstrate how to talk to an API using Lasso.
> >
> > Google Checkout is a good high level example.
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?9158>
> >
> > Google Base is another example.
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?9204>
> >
> > And then there's a whole series of lower-level examples including:
> >
> > DNS Lookup Tags,
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8350>
> >
> > Network Tags and Internet Protocols,
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8420>
> >
> > Bit Formatting,
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8443>
> >
> > and Pasring Byte Streams and Internet Protocols.
> > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8487>
> >
> > Hope this helps,
> >
> > [fletcher]
> >
> > --
> > Fletcher Sandbeck                         [hidden email]
> > LassoSoft, LLC                          http://www.lassosoft.com
> >
> >
> >
> > --
> > This list is a free service of LassoSoft: http://www.LassoSoft.com/
> > Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> > Manage your subscription: http://www.ListSearch.com/Lasso/
> >
> >
>
>
>
> --
> tagSwap.net :: Open Source Lasso Code
> <http://tagSwap.net/>
>
> --
>
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Tutorials on using Lasso to talk to API?

jasonhuck
Whoops. I'll try and remember to update the sample usage when I get a
chance. Thanks.

- jason



On Jan 7, 2008 10:22 AM, Lieven Gekiere <[hidden email]> wrote:

> Works great, except for the direct messaging to a user...
>
> $t->new(-user='xxxxxx', -text='Sent from Lasso. Let me know if you get this.');
>
> should be :
>
> $t->new_direct(-user='xxxxxx', -text='Sent from Lasso. Let me know if
> you get this.');
>
>
>
>
> Lieven
>
>
>
> On Jan 5, 2008 2:12 AM, Jason Huck <[hidden email]> wrote:
> > I've just posted it:
> >
> > http://tagswap.net/twitter/
> >
> > This is actually one of the easiest REST-based API's I've worked with,
> > due to the fact that it supports JSON. Thanks to that, Fletcher's
> > excellent JSON library for Lasso does most of the post-processing for
> > me!
> >
> > In addition to the list that Fletcher provided, you'll find a lot of
> > ways to work with different API's on tagSwap:
> >
> > http://tagswap.net/search/?kwd=API
> >
> > HTH,
> > Jason
> >
> >
> >
> >
> >
> > On Jan 4, 2008 5:23 PM, Fletcher Sandbeck <[hidden email]> wrote:
> > > On 1/4/08 at 11:03 AM, [hidden email] (Scott Yoshinaga) wrote:
> > >
> > > >Thats cool! I'd love to see what you've done.
> > > >I hope there are some notes too?
> > > >
> > > >Any tutorial suggestions on working with the API?
> > >
> > > I haven't looked at Twitter, but several of the Tips of the Week
> > > demonstrate how to talk to an API using Lasso.
> > >
> > > Google Checkout is a good high level example.
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?9158>
> > >
> > > Google Base is another example.
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?9204>
> > >
> > > And then there's a whole series of lower-level examples including:
> > >
> > > DNS Lookup Tags,
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8350>
> > >
> > > Network Tags and Internet Protocols,
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8420>
> > >
> > > Bit Formatting,
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8443>
> > >
> > > and Pasring Byte Streams and Internet Protocols.
> > > <http://www.lassosoft.com/Documentation/TotW/index.lasso?8487>
> > >
> > > Hope this helps,
> > >
> > > [fletcher]
> > >
> > > --
> > > Fletcher Sandbeck                         [hidden email]
> > > LassoSoft, LLC                          http://www.lassosoft.com
> > >
> > >
> > >
> > > --
> > > This list is a free service of LassoSoft: http://www.LassoSoft.com/
> > > Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> > > Manage your subscription: http://www.ListSearch.com/Lasso/
> > >
> > >
> >
> >
> >
> > --
> > tagSwap.net :: Open Source Lasso Code
> > <http://tagSwap.net/>
> >
> > --
> >
> > This list is a free service of LassoSoft: http://www.LassoSoft.com/
> > Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> > Manage your subscription: http://www.ListSearch.com/Lasso/
> >
> >
>
> --
>
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>



--
tagSwap.net :: Open Source Lasso Code
<http://tagSwap.net/>

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/

Reply | Threaded
Open this post in threaded view
|

Re: Parsing Flickr XML

berbercarpet
In reply to this post by Kerry Adams-2

On Jan 4, 2008, at 1:27 PM, Kerry Adams wrote:

> Let me explain something to you. Um, I am not "Mr. Lebowski".  
> You're Mr. Lebowski. I'm the Dude. So that's what you call me. You  
> know, that or, uh, His Dudeness, or uh, Duder, or El Duderino if  
> you're not into the whole brevity thing.


Are you employed, sir?



--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/