codewitchio / Schedutalk

MIT License
1 stars 1 forks source link

KTH places API integration #24

Closed codewitchio closed 8 years ago

codewitchio commented 8 years ago

Could allow users to click on the location of an event to link to the KTH places map etc.

codewitchio commented 8 years ago

Here's the specifications for the KTH places API.

EricLewe commented 8 years ago

I have recieved a mail from the IT Administration at KTH, we need a key from them inorder to use their API, this is to ensure that we get notified if there are changes occuring in the API in order to secure our own code from being :bug: . However they said we will recieve the key this week. So we will see if it gets there on time.

codewitchio commented 8 years ago

Alright, fingers crossed!

EricLewe commented 8 years ago

Just recieved the API key :+1:

codewitchio commented 8 years ago

Sweet! :+1:

EricLewe commented 8 years ago

Useful link for Http requests with JSON as the recieved data: https://msdn.microsoft.com/en-us/library/hh674188.aspx http://stackoverflow.com/questions/31825627/xamarin-forms-pcl-clean-and-easy-way-for-a-webrequest

EricLewe commented 8 years ago

The following data is useful for us to extract from webrequests:

GET /v3/room/name/{name} If there is power outlets or not in the room also the following fields: floorUid imageUrls geodata buildingName campus typeName placeName uid id //Not sure if needed

GET /v3/room/exists/{id} this is used to make sure the room specifed exists

GET /v3/room/id/{id}/freeSeats is useful if we want to monitor computer labs spaces, perhaps possible to make lab scheduled things automatically display free seats

GET /v3/floorplan/{id} get floor image, which I currently dont know what to pass in.

EricLewe commented 8 years ago

The principle is now implemented and addig future features are easily possible!