duffelhq / duffel-api-javascript

JavaScript client library for the Duffel API
https://duffel.com/docs
MIT License
36 stars 12 forks source link

Implement SDK call for accommodation/{id} #925

Closed jekku closed 5 months ago

jekku commented 5 months ago

What's here?

This adds one more accommodation fetch call. It takes a specific Duffel ID and returns a stays accommodation.

References

To learn more about the endpoint being called in this PR, some documentation about GET /stays/accommodation/{id} can be found here:

https://duffel.com/docs/api/v1/accommodation/get-accommodation