API: Difference between revisions

From wasteof.money wiki
(blurb about random post update)
m (rename Willy -> Wuilly & provide newer documentation)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
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 Wuilly had made documentation for [[wasteof2]] and [[wasteof3]]'s APIs, but those repositories have since been deprecated. Newer, up-to-date documentation about the wasteof.money API as a whole, may be found [https://github.com/wulliy/wasteof-docs here].


== Updates ==
== Updates ==
Line 11: Line 11:


== Bots ==
== Bots ==
{{Main|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 />

Latest revision as of 08:26, 4 May 2024

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 Wuilly had made documentation for wasteof2 and wasteof3's APIs, but those repositories have since been deprecated. Newer, up-to-date documentation about the wasteof.money API as a whole, may be found here.

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

Main article: 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].