DeveloperBreeze

Api Development Tutorials, Guides & Insights

Unlock 7+ expert-curated api tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your api skills on DeveloperBreeze.

Etherscan vs Infura: Choosing the Right API for Your Blockchain Application

Tutorial October 24, 2024

  • Basic understanding of Ethereum and blockchain concepts.
  • Familiarity with APIs and programming in Node.js or any other language.

Before diving into code examples, it's important to understand the core differences between Etherscan and Infura.

بناء API متقدم باستخدام Laravel Passport للتوثيق

Tutorial September 27, 2024
php

بهذا نكون قد أنشأنا واجهة API متقدمة باستخدام Laravel Passport للتوثيق. يمكنك الآن استخدام هذا الأساس لبناء واجهة برمجة تطبيقات أكثر تعقيدًا تشمل مزيدًا من العمليات مثل إدارة الملفات الشخصية، التحديثات، وحذف المستخدمين.

  • إضافة الأدوار والصلاحيات (Roles and Permissions)
  • حماية النقاط النهائية باستخدام مختلف أساليب التوثيق
  • إدارة تجديد رموز الوصول (refresh tokens)

Integrating Laravel and React with Vite: Using Databases and PHP in a Full-Stack Project

Tutorial August 14, 2024
javascript php

public function up()
{
    Schema::create('posts', function (Blueprint $table) {
        $table->id();
        $table->string('title');
        $table->text('body');
        $table->timestamps();
    });
}

Run the migration to create the table:

Advanced Pybit Tutorial: Managing Leverage, Stop-Loss Orders, Webhooks, and More

Tutorial August 14, 2024
python

The following function fetches open positions for a specific trading pair:

   def get_open_positions(symbol):
       response = session.my_position(symbol=symbol)
       if response['ret_code'] == 0:
           positions = response['result']
           print(f"Open positions for {symbol}: {positions}")
       else:
           print(f"Error fetching positions: {response['ret_msg']}")
       return positions

   get_open_positions('BTCUSD')

A Beginner's Guide to Pybit: Interacting with the Bybit API

Tutorial August 14, 2024
python

With Pybit, you can place orders on the Bybit exchange programmatically. Let’s look at how to place a limit order.

The following function places a limit order to buy 0.01 BTC at $30,000: