Content API - noi-techpark/odh-docs GitHub Wiki
Overview
This wiki section contains suggestions for query tweaking, API usage and some specific information on datasets.
It is considered as an additional information source to the main documentation on https://docs.opendatahub.com/en/latest/datasets.html#datasets-in-the-tourism-domain.
Information about specific Logic or Parameters used in the Content API can be found here: Tourism Logic & Parameter
General query tweaking
-
How do I get an authorization token for API?
All Infos about getting more data from Open data Hub if i have valid credentials -
How is the Token handled by the ODH Api?
How ODH responds to expired/invalid tokens -
Which license has the dataset?
Where is the License Information in the data structure -
How a bitmask filter works
How to deal with a bitmask filter -
Common parameters, fields, language, searchfilter, removenullvalues, updatefrom
How to use the custom filtering/sorting ODH Tourism api offers -
Geosorting and Locationfilter usage
How to use Geosorting and Location Filter on ODH Tourism api -
Location Endpoint
How to use the Location Endpoint to populate Location Filter -
Using rawfilter and rawsort on the Tourism Api
How to use the custom filtering/sorting ODH Tourism api offers -
The seed parameter
How to use the seed parameter for random sorting -
Search over all Entities in ODH Tourism api
How to use the api to find data over all different odh datatypes -
Distinct Search in ODH Tourism api
How to use the Distinct aggregation search -
Using datefilters on the Tourism Api
How to use the date filters ODH Tourism api offers -
Export data to csv format
How to export json data into csv -
Getting Data as JsonLD / schema.org
How to get Data in in modelled in schema.org Format as JsonLD -
License status: How much CC0 data is in ODH Tourism
Overview on how many records contain CC0 data in the ODH -
Http Referer
How, and why a HTTP Referer Header should be passed in each ODH Call -
Api Quota
How does ODH Api Rate Limiting Works -
ODH Imageresizer
How does ODH ImageResizer works
Datasets
- Get all datasets Get all available Tourism Datasets at the Opendatahub Tourism API startingpoint
Common Structures
-
Operationschedule Format How are openingtimes stored on Opendatahub Tourism
-
ODHTags How can i filter Data by ODHTags
Accommodation
- Accommodation Workflow Informations about the Accommodation base data, room data, availablity search etc..
- Total count of lodging structures How total count of lodging structures from LTS is composed
ODHActivityPoi
-
ODHActivityPoi Informations about how to use the ODHActivityPoi endpoint, how filters should be used etc..
-
Filter ODHActivityPoi by Tags Informations about how to use the new tagfilter for ODHActivityPois which offers more possibilities to filter..
-
Endpoint Migration Guide Use ODHActivityPoi Endpoint instead of the legacy Activity, Poi, Gastronomy Endpoints
How To's
Data Import
CSV Import
- CSV Import How CSV Import can be done
DB Import
- Postgres DB Import How a Postgres dump can be imported in my local Database
FAQ
-
License status How much CC0 data is in ODH?
-
FAQ How do Activities and Pois sync between TIC Web and ODH?