API Best Practices You Should Know - Deepstash
API Best Practices You Should Know

API Best Practices You Should Know

Curated from: dzone.com

Ideas, facts & insights covering these topics:

6 ideas

·

215 reads

4

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

<p>Building quality APIs is es...

Building quality APIs is essential to facilitating equally quality web app. Think of this as a waiter in a restaurant having terrible habits. This will taint restaurant’s overall quality will be affected. We don’t want that, right? This series will look at some tips and best practices you should follow when building and consuming APIs.

5

54 reads

Understand API purpose

Understanding the purpose of the API can help you get a good idea of the kind of data the API collects as input and the kind of data it gives out. There are different formats of data used with APIs. Some examples are JSON, YAML, e.t.c.

4

37 reads

Is the API easily readable?

An API should be easy to read as this will make it easy to understand. Readability includes API definitions and response messages. Writing readable code also applies to software development as this will make it easier for further development and collaboration with other developers. Use readable response messages that include both error and success messages clearly stated out using standard error codes to give more understanding to the consumers.

5

31 reads

Does the API have good documentation?

Documentation is essential to API development. It gives the users a firmer understanding of the API endpoints along with their functions, the API data types, and its overall workflow.

5

36 reads

Did you run tests on your API

Writing tests can not be overemphasized as it is also essential to building quality software. It helps solve security issues, resolve errors in the codebase, and test API workflow.

4

30 reads

Rate limiting

Implementing rate limiting on your API is essential in managing resources. This forces developers to take a more optimized approach to use your APIs. You can also build paid version of your API by increasing rate limits for paid customers.

5

27 reads

IDEAS CURATED BY

sunnyprakash

Stashing some smashing ideas along the way.

sunny prakash's ideas are part of this journey:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates