branch: elpa/fedi
commit a419ee67545d8412b6e32ff1753160e68cbccd89
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>
readme
---
readme.org | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/readme.org b/readme.org
index 733378b5543..4a647799840 100644
--- a/readme.org
+++ b/readme.org
@@ -2,14 +2,14 @@
A library to make writing clients for APIs easier.
-It uses code ported from
[[https://codeberg.org/martianh/mastodon.el][mastodon.el]] to make it easy to
write requests for
+It uses code originally ported from
[[https://codeberg.org/martianh/mastodon.el][mastodon.el]] to make it easy to
write requests for
JSON APIs and build client interfaces.
* http layer
The example macro =fedi-request= allows you to quickly create HTTP requests to
API endpoints, with parameters automatically constructed and sent as form data
-or JSON payloads (for POST, PUT, DELETE, and probably PATCH). You should write
+or JSON payloads (for POST, PUT, DELETE, and PATCH). You should write
your own similar macro in your package. For a working example, see the
[[https://codeberg.org/martianh/lem.el/src/commit/25def6d187caa2bfac238469de81dbaecef757ec/lisp/lem-request.el#L36][lem-request]]
macro. That way you can handle package-specific parameters such as
authentication.
@@ -45,6 +45,10 @@ service also does, you can handle them too.
- toggling post flags like NSFW
- completion of items like handles and tags.
+* transient menus
+
+If you want to create transient menus to POST, PUT or PATCH complex data to a
server, take a look at =tp.el=.
+
* clients using =fedi.el=
- [[https://codeberg.org/martianh/lem.el][lem.el]] (Lemmy client)