API: Difference between revisions

From wasteof.money wiki
(stub for API page)
 
m (rename Willy -> Wuilly & provide newer documentation)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}
The API is a development feature that can be used to retrieve data from wasteof.money without scraping the page. It can also be used to post and love, for example.
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 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 not yet an official feature on wasteof.money, however [[Jeffalo]] gave the green light for bots to be used.
{{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 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 />

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].