API: Difference between revisions

From wasteof.money wiki
(Changed terminology to be more concise and removed references of "programmers")
(blurb about random post update)
Line 1: Line 1:
{{Stub}}
{{Stub}}
The API is an interface that programs can use to send and retrieve data to and from wasteof.money. Examples of data that can be retrieved are posts and user data. Software can also use the API to create posts, or change user data. The wasteof2 API is located at [https://api.wasteof.money api.wasteof.money].
The API is an interface that programs can use to send and retrieve data to and from [[wasteof.money]]. Examples of data that can be retrieved are posts and user data. Software can also use the API to create posts, or change user data. The wasteof2 API is located at [https://api.wasteof.money api.wasteof.money].


The administrator Willy made documentation for [[wasteof2]] and [[wasteof3]]'s APIs. These can be found [https://github.com/wulliy/wasteof2-docs here] and [https://github.com/wulliy/wasteof3-docs here], respectively.
The administrator Willy made documentation for [[wasteof2]] and [[wasteof3]]'s APIs. These can be found [https://github.com/wulliy/wasteof2-docs here] and [https://github.com/wulliy/wasteof3-docs here], respectively.
== Updates ==
The wasteof.money API has been updated over time with new features and updates.
=== Feb 14th, 2023 ===
On Valentine's Day, 2023, [[Jeffalo]] added the [https://api.wasteof.money/random-post random post] endpoint. As its name says, it returns a random [[Posts|post]] from the site when viewed.


== Bots ==
== Bots ==
Bots are programs written to use the live socket API to detect tags or [[Wall|wall]] posts, or even [[/chat]] messages. Bots are not officially endorsed on [[wasteof.money]], however, on 7th June, 2022 [[Jeffalo]] provided a set of rules for bots to follow<ref>https://wasteof.money/posts/629eef086586aae544597fac</ref>.
Bots are programs written to use the live socket API to detect tags or [[Wall|wall]] posts, or even [[/chat]] messages. Bots are not officially endorsed on [[wasteof.money]], however, on 7th June 2022 [[Jeffalo]] provided a set of rules for bots to follow<ref>https://wasteof.money/posts/629eef086586aae544597fac</ref>.
<references />
<references />

Revision as of 17:28, 22 February 2023

Warning: This article is a stub. You can help the wiki out by expanding it.

The API is an interface that programs can use to send and retrieve data to and from wasteof.money. Examples of data that can be retrieved are posts and user data. Software can also use the API to create posts, or change user data. The wasteof2 API is located at api.wasteof.money.

The administrator Willy made documentation for wasteof2 and wasteof3's APIs. These can be found here and here, respectively.

Updates

The wasteof.money API has been updated over time with new features and updates.

Feb 14th, 2023

On Valentine's Day, 2023, Jeffalo added the random post endpoint. As its name says, it returns a random post from the site when viewed.

Bots

Bots are programs written to use the live socket API to detect tags or wall posts, or even /chat messages. Bots are not officially endorsed on wasteof.money, however, on 7th June 2022 Jeffalo provided a set of rules for bots to follow[1].