Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

cliffano/blogmap4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlogMap4J http://travis-ci.org/cliffano/blogmap4j

BlogMap4J is a Java library for BlogMap Service APIs.

Usage

getBlogMap

Get a blog from a registered feed URL, generate a 150 x 200 pixels map.

BlogMap4J blogMap4J = new BlogMap4J();
Response response =
        blogMap4J.getBlogMap(
        "http://www.csthota.com/blog/rss.aspx",
        new Integer(150),
        new Integer(200));
String mapUrl = response.getMapUrl();
Blog blog = (Blog) response.getBlogs().get(0);

search

Search for at most 10 blogs around redmond,wa with latitude 47 and longitude -122, within 50 kilometres from the center, and generate a 150 x 200 pixels map.

BlogMap4J blogMap4J = new BlogMap4J();
Response response =
        blogMap4J.search(
        "redmond,wa",
        new Double(47),
        new Double(-122),
        new Integer(50),
        new Integer(10),
        new Integer(150),
        new Integer(200));
String mapUrl = response.getMapUrl();
List blogs = response.getBlogs();

Colophon

Follow @cliffano on Twitter.

About

[retired] Java library for BlogMap Service APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published