Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command-line interface for Y!'s Placemaker API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.markdown
Octocat-spinner-32 placemaker
README.markdown

Placemaker CLI

This is a command-line interface to Yahoo!'s Placemaker API. Placemaker is a geoparsing web service, which means that it extracts locations from bodies of text.

Usage

To use it, point it at a URL that you'd like locations extracted from:

$ ./placemaker --appid=<appid> <url>

Or feed it something content directly:

$ cat document.txt | ./placemaker --appid=<appid> --documentType=text/plain -

Optional arguments are (default):

--documentType=mime/type        (text/html)
--inputLanguage=lang-code       (en-US)
--autodisambiguate=true|false   (false)
--outputType={xml|rss}          (xml)
--focusWoeid=number             (none)
--documentTitle=string          (none)

To register for an app id, visit https://developer.yahoo.com/wsregapp/

Something went wrong with that request. Please try again.