API

Showing 1-9 of 28 results

Share

Using an LLM API As an Intelligent Virtual Assistant for Python Development

With proper instruction, LLMs can be highly effective coding assistants. This step-by-step guide shows you how to generate a call to an external API using Python and the OpenAI API.

16 minute readContinue Reading
Tarek Mohamed Mehrez

Tarek Mohamed Mehrez

How to Build a Role-based API with Firebase Authentication

Nearly every app requires an authorization system on top of an authentication system. We often need a fine-grained permissions model to allow only specific users to access certain resources while simultaneously restricting access for everyone else.

In this tutorial, Toptal Freelance Firebase Developer Joaquin Cid teaches how to build just such a system. Called role-based authentication, we’ll learn how to implement this system in an API using Node.js and Firebase.

15 minute readContinue Reading
Joaquin Cid

Joaquin Cid

Creating Your First GraphQL API

GraphQL is a domain-specific language for data query and manipulation by Facebook. It is meant to replace the de facto REST standard in API creation.

In this article, Toptal Freelance GraphQL Developer Ioram Gordadze creates a GraphQL API from scratch, summarizing problems new GraphQL developers face. He also teaches us to rethink the standard methods used in REST APIs in a more GraphQL-friendly manner.

16 minute readContinue Reading
Ioram Gordadze

Ioram Gordadze

How to Approach Modern WordPress Development (Part 2)

WordPress code, especially back-end PHP code, is often a mess—even in WP core! But legacy code is no excuse. Find out how to develop WP customizations the right way, so your code is readable and maintainable.

13 minute readContinue Reading
Andrey Shalashov

Andrey Shalashov

How to Approach Modern WordPress Development (Part 1)

It’s no secret that the WordPress codebase is a mess. Many developers use its legacy code as an excuse for writing sloppy code themselves, even if its newer additions follow best practices. If this is you, it’s time to level up your skills!

10 minute readContinue Reading
Andrey Shalashov

Andrey Shalashov

Working With TypeScript, Dependency Injection, and Discord Bots

Types and testable code are two of the most effective ways of avoiding bugs. In this tutorial, discover TypeScript best practices while you create a Discord bot from scratch.

10 minute readContinue Reading
Michał Krakiewicz

Michał Krakiewicz

Five Battle-tested Techniques Your WordPress API Developer Isn't Using

One of the best ways to elevate your status as a WordPress developer, at least in the eyes of your clients, is to become skilled at writing API consumers.

In this article, Toptal Freelance WordPress Developer Scott Fennell guides you through five techniques that will help you create powerful WordPress API clients to perfectly suit your needs.

13 minute readContinue Reading
Scott Fennell

Scott Fennell

Smart Node.js Form Validation

Bulletproof data validation is fundamental to implementing a back-end API. Find out how datalize, a Node.js library, makes this easy—and formats your data nicely, too.

8 minute readContinue Reading
Andrej Adamcik

Andrej Adamcik

ActiveResource.js: Building a Powerful JavaScript SDK For Your JSON API, Fast

As simple as your RESTful API may be, even internal users will want a JavaScript package that will do all the heavy lifting for them. Why build each CRUD request by hand, or worse, deal with related resources using custom code for every scenario? With ActiveResource.js, you don’t have to.

13 minute readContinue Reading
Nick Landgrebe

Nick Landgrebe

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.