ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
610 stars 57 forks source link

Can the API be tested using CURL ? #144

Closed oywino closed 1 year ago

oywino commented 1 year ago

Is your feature request related to a problem? Please describe. This isn't exactly a feature request, and it isn't an issue. So, where do I put it? I'm just wondering if it is possible to test the API using CURL (or any other API testing tool).

Describe the solution you'd like I tried a GET to https://api.home-connect.com/api/homeappliances/events but of course that didn't work. I got a 401. Can you please point me to where I can find information about the correct URI and the necessary missing headers, auth etc. in order to test the API?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

ekutner commented 1 year ago

You can use curl but you need to get an OAuth access token first, or you can use the api page on the home-connect developers website. Either way, this kind of question should be posted on the discussion board.