Ion Channel Lew API

Base URL: /v1, Version: 0.0.3

Get location, license, language and dependency information

Default response content-types: application/json
Schemes: https

Summary

Tag: Locations

Operation Description
POST /metadata/getLocations

Query a string for a locations

Tag: Licenses

Operation Description
POST /metadata/getLicenses

Query a string for a software license

Tag: Language

Operation Description
POST /metadata/getLanguages

Query a string for a languages included

Tag: Sentiment

Operation Description
POST /metadata/getSentiment

Query a string for sentiment analysis

Paths

Query a string for a languages included

POST /metadata/getLanguages

Tags: Language

The getLanguages endpoint queries a text value for a set of languages.

language text to scan

Uses default content-types: application/json

200 OK

An object containing language data

404 Not Found

No language data was found

default

Unexpected error

Query a string for a software license

POST /metadata/getLicenses

Tags: Licenses

The getLicensesForText endpoint queries a text value for a set of licenses. It returns a list of licenses.

license text to scan

Uses default content-types: application/json

200 OK

An object containing license data

404 Not Found

No license data was found

default

Unexpected error

Query a string for a locations

POST /metadata/getLocations

Tags: Locations

The getLocations endpoint queries a text value for a set of locations. It returns a list of locations and relevency.

locations text to scan

Uses default content-types: application/json

200 OK

An object containing location data

404 Not Found

No language data was found

default

Unexpected error

Query a string for sentiment analysis

POST /metadata/getSentiment

Tags: Sentiment

The getSentiment endpoint queries a text value for sentiment.

text to scan

Uses default content-types: application/json

200 OK

An object containing language data

404 Not Found

No sentiment data was found

default

Unexpected error

Schema definitions

Error: object

code: integer (int32)
message: string
fields: string

Language: object

name: string

Name of language identified

code: string

Code for language identified

reliable: boolean

Indicator of system determination

LanguageBody: object

text: string

text body to scan for languages

Languages: object

data: object[]
meta: Meta
timestamps: Timestamps
links: Links

LicenseBody: object

text: string

text body to scan for License

Licenses: object

licenses: string[]
string
timestamps: Timestamps
links: Links
meta: Meta

LocationBody: object

text: string

text body to scan for locations

Meta: object

copyright: string

Copyright info

authors: string

Authors

version: string

API version

last_update: string

Last update of source data (optional)

Sentiment: object

score: number

Number value for sentiment rating

sentiment: string

String value indicated general sentiment [postive,neutral,negative]

timestamps: Timestamps
links: Links
meta: Meta

SentimentBody: object

text: string

text body to scan for sentiment

SimpleLocation: object

fuzzy: boolean

String that was matched to determine the location

confidence: number (float)

String that was matched to determine the location

latitude: number (double)

String that was matched to determine the location

longitude: number (double)

String that was matched to determine the location

links: Links
altitude: integer (int32)

String that was matched to determine the location

match: string

String that was matched to determine the location

name: string

String that was matched to determine the location

id: integer

String that was matched to determine the location

country: string

String that was matched to determine the location

timestamps: Timestamps
meta: Meta

Timestamps: object

created: string

Time the object was created

updated: string

Time the object was last updated