ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > PublicDomainVic

GingerTG - Custom command-line app for Telegra.ph (v0.1.0)

<< < (2/2)

publicdomain:
GingerTG ALPHA 2022-04-06 is here:

▶ Direct download: GingerTG_v0-1-ALPHA20220406-0.zip

🏷 GitHub tag: https://github.com/publicdomain/gingertg/releases/tag/v0.1-ALPHA20220406.0

I was just thinking plain text.
-c.gingerich (April 06, 2022, 09:57 AM)
--- End quote ---

Great! Text is simply wrapped in a "p" element.


Do notice this is aiming to be a Telegra.ph API client + account manager.

If you just want an API client, we can keep it lean (i.e. no Database, just plain ol' manual argument passing).


Some examples.

Create account:

GingerTG.exe -a createAccount -s "GingerTG short name"

Create page:

GingerTG.exe -a createPage -k b968da509bb76866c35425099bc0989a5ec3b32997d55286c657e6994bbb -t "Page by GingerTG" -n "GingerTG.exe" -c "This is some sample content." -r true

Edit page:

GingerTG.exe -a editPage -k b968da509bb76866c35425099bc0989a5ec3b32997d55286c657e6994bbb -p Page-by-GingerTG-04-07 -t "Edited title" -n "New Ginger" -c "NEW & improved content here." -r true


It returns info on success:



This is the first ALPHA hence it's in a very malleable stage.

Please inform on what's your goal with the program; we can surely get you there! :Thmbsup:

publicdomain:
Released @ first post!


* GingerTG - Custom command-line app for Telegra.ph (v0.1.0)

c.gingerich:
Hey Vic,

I am just getting around to testing this and when I just try to create an account, I get an error:

Creating account...
Create account error: One or more errors occurred.

I thought it may be because the account already exists, but I have even tried a 16 random string as the account shortname and it still didn't work.

publicdomain:
Hi Chris!

Thanks for your report! I'm on it :Thmbsup:

Vic

Navigation

[0] Message Index

[*] Previous page

Go to full version