duffelhq / duffel-api-javascript

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

Implement SDK call for accommodation/{id} #925

Closed jekku closed 4 months ago

jekku commented 4 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