Endpoint: http://access.alchemyapi.com/calls/url/URLGetAuthor
| http argument | parameter description |
|---|---|
| url | http url (must be uri-argument encoded)
(required parameter) |
| apikey | your private api key
(required parameter) |
| outputMode | desired API output format Possible values: xml (default) json rdf (optional parameter) |
| jsonp | desired JSONP callback (optional parameter, requires "outputMode" to be set to json) |
<results>
<status>REQUEST_STATUS</status>
<url>REQUESTED_URL</url>
<author>DOCUMENT_AUTHOR</author>
</results>
{
"status": "REQUEST_STATUS",
"url": "REQUESTED_URL",
"author": "DOCUMENT_AUTHOR"
}
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:aapi="http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#"
xml:base="http://rdf.alchemyapi.com/rdf/v1/r/response.rdf">
<rdf:Description rdf:ID="DOCUMENT_HASH">
<rdf:type rdf:resource="http://rdf.alchemyapi.com/rdf/v1/s/aapi-schema#DocInfo"/>
<aapi:ResultStatus>REQUEST_STATUS</aapi:ResultStatus>
<aapi:URL>DOCUMENT_URL</aapi:URL>
<aapi:DocAuthor>DOCUMENT_AUTHOR</aapi:DocAuthor>
</rdf:Description>
</rdf:RDF>
| field name | field description |
|---|---|
| status | success / failure status indicating whether the request was processed. Possible values: OK ERROR |
| url | http url information was requested for. |
| author | the extracted author name. |
| statusInfo | failure status information (sent only if "status" == "ERROR"). Possible values: author-not-found:cannot-locate author-not-found:multiple-candidates invalid-api-key cannot-retrieve page-is-not-html |
XML: http://access.alchemyapi.com/calls/...
RDF: http://access.alchemyapi.com/calls/...