Skip to content

phparch/spacetraders

This branch is 71 commits behind omerida/spacetraders:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8cc04f2 · Sep 17, 2024

History

31 Commits
Sep 17, 2024
May 16, 2024
Aug 23, 2024
Mar 19, 2024
Mar 19, 2024
Feb 15, 2024
Aug 20, 2024
Jun 5, 2024
Jun 5, 2024
Jun 5, 2024
Aug 14, 2024

Repository files navigation

SpaceTrader PHP

Client and tools for interacting with the SpaceTraders API. Follow development along in a series for php[architect] magazine at https://phparch.com

Sample Usage

Register a new agent. Don't forget to grab the token for authentication until the next server reset. Save the token in .env

./spacetraders register symbol=YOUR_CALLSIGN faction=COSMIC > out.json

Get Info about your agent:

./spacetraders myagent

Add the token to .env file to authenticate other requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%