samples

(β˜… 3,199)

Sample code for the X API v2 endpoints

  • .gitignore
  • api-index.json
  • CODE_OF_CONDUCT.md
  • LICENSE
  • llms.txt
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/xdevplatform/samples

Downloads the entire project code from GitHub to your computer.

cd samples

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
cd python && pip install -r requirements.txt

Moves into the project folder you just downloaded.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

3. Ruby

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Ruby Ruby is required to use the bundle command.
cd ruby && bundle install

Moves into the project folder you just downloaded.

βœ… If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).

Pulled directly from this repo's README.

// repository documentation