Password: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
:There are three different types of API functions - CSV, XML and JSON. They require different methods of authorization: | :There are three different types of API functions - CSV, XML and JSON. They require different methods of authorization: | ||
:*CSV | :*CSV | ||
:Your Beds24 account user name and password | ::Your Beds24 account user name and password | ||
:*XML | |||
*XML | ::Your Beds24 account user name and password | ||
:Your Beds24 account user name and password | :*JSON | ||
::You need two special keys - one for the API itself and one for the property. The keys have to consist of 16 characters of your choosing. | |||
*JSON | ::'''API key:''' | ||
:You need two special keys - one for the API itself and one for the property. The keys have to consist of 16 characters of your choosing. | ::Settings > Account > Account Access > API Key 1: | ||
:'''API key:''' | ::API Key = my_very_secret_api_key | ||
:Settings > Account > Account Access > API Key 1: | ::API Key Access = allow any IP | ||
:API Key = my_very_secret_api_key | ::IP Whitelist = [leave empty] | ||
:API Key Access = allow any IP | ::Allow Writes = Yes | ||
:IP Whitelist = [leave empty] | ::Property Access = Owned by this account only | ||
:Allow Writes = Yes | ::'''Property key:''' | ||
:Property Access = Owned by this account only | ::Settings > Properties > Access > propKey = secret_key_for_prop_XXXXXX | ||
:'''Property key:''' | |||
:Settings > Properties > Access > propKey = secret_key_for_prop_XXXXXX | |||