API: Difference between revisions

From wasteof.money wiki
(add some information on willy's documentation)
m (rename Willy -> Wuilly & provide newer documentation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}
The API is a feature that programmers can use to send and receive data to and from wasteof.money. Examples of data that can be received are posts and user data. Programmers can also write software that uses the API to create posts, or change user data. The 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 ==
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>.
{{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>.
<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].