| Lurk all you'd like, but why not register and post some pics? Registering also makes it easier to find the good stuff. Need help? |
|
|||||||
| Register | FAQ | Shooters | Calendar | Reviews | Tutorials | Gallery | Books | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
working on it
Join Date: Nov 2007
Posts: 33
|
All keywords
I think I know the answer to this question, but I want to be wrong :-)
Is there an API method to collect all keywords (better yet with their usage count)? There is a tag cloud on the homepage, so this data is available, but shy of collecting all albums and their photos, I do not see how I could gather this information with the API. Thanks pth |
|
|
|
|
|
#2 | |
|
Big grins
Join Date: Oct 2007
Location: England
Posts: 62
|
Quote:
|
|
|
|
|
|
|
#3 | |
|
Big grins
Join Date: May 2007
Posts: 19
|
pysmug implementation of tagcloud()
Quote:
I added this for the 0.5 release of pysmug, but it will work perfectly well with version 0.4 (code here, look for "tagcloud"). Use it like this: Code:
>>> import pysmug >>> m = pysmug.login(klass=pysmug.SmugTool) >>> print m.tagcloud() -- Brian Zimmer / bzimmer.ziclix.com |
|
|
|
|
|
|
#4 |
|
Big grins
Join Date: May 2007
Posts: 19
|
I added a slightly longer write-up here detailing the performance of pysmug for generating the tag cloud.
thanks, brian
__________________
Brian Zimmer / bzimmer.ziclix.com |
|
|
|
|
|
#5 |
|
Major grins
Join Date: May 2004
Posts: 1,033
|
Wouldn't it be faster to just scrape your Keywords page?
http://yoursite.smugmug.com/keyword/ --Darryl |
|
|
|
|
|
#6 | |
|
Big grins
Join Date: May 2007
Posts: 19
|
Quote:
__________________
Brian Zimmer / bzimmer.ziclix.com |
|
|
|
|
![]() |
| Tell The World! |
| Thread Tools | |
| Display Modes | |
|
|