Guides

Best practices

Conclusion

Best practices

Here is a list of recommended best practices to adopt:

β€’ Wait for the API response before calling it again to avoid duplication

β€’ Avoid unnecessary API calls, Limit and control the rate of requests

β€’ Keep your Api-token and your Api-Secret secret, avoid leaving this information as public

β€’ Monitor and log API activities

β€’ Maintain consistency in response formats

β€’ Version your API contracts

β€’ Consider security

β€’ Perform input validation

β€’ Implement paging and filtering

β€’ Optimize performance

β€’ Perform complete tests

β€’ Implement dependency version control

β€’ Monitor API performance and errors

β€’ Be open to user feedback