dnsapi omg.lol: fix info

Description "Based on the omg.lol API" is useless for users so removed.
The link to api moved to comment bellow.
Domains: omg.lol is unnecessary because the DNS provider name is anyway omg.lol.
Site: changed to point to the https://omg.lol site.
Issues: put a link to the support issue.

Remove the useless "Please Read this guide first" comment.
Fix typos.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
Sergey Ponomarev 2024-11-09 17:24:22 +02:00
parent d058ac6174
commit 1a43c81840

View File

@ -1,23 +1,19 @@
#!/usr/bin/env sh #!/usr/bin/env sh
# shellcheck disable=SC2034 # shellcheck disable=SC2034
dns_myapi_info='omg.lol dns_omglol_info='omg.lol
Based on the omg.lol API, defined at https://api.omg.lol/ Site: omg.lol
Domains: omg.lol Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi2#dns_omglol
Site: github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide
Docs: github.com/acmesh-official/acme.sh/wiki/dnsapi#dns_duckdns
Options: Options:
OMG_ApiKey API Key from omg.lol. This is accesible from the bottom of the account page at https://home.omg.lol/account OMG_ApiKey API Key from omg.lol. This is accessible from the bottom of the account page at https://home.omg.lol/account
OMG_Address This is your omg.lol address, without the preceding @ - you can see your list on your dashboard at https://home.omg.lol/dashboard OMG_Address This is your omg.lol address, without the preceding @ - you can see your list on your dashboard at https://home.omg.lol/dashboard
Issues: github.com/acmesh-official/acme.sh Issues: github.com/acmesh-official/acme.sh/issues/5299
Author: @Kholin <kholin+acme.omglolapi@omg.lol> Author: @Kholin <kholin+acme.omglolapi@omg.lol>
' '
#returns 0 means success, otherwise error. # See API Docs https://api.omg.lol/
######## Public functions ##################### ######## Public functions #####################
# Please Read this guide first: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide
#Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" #Usage: dns_myapi_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_omglol_add() { dns_omglol_add() {
fulldomain=$1 fulldomain=$1
@ -244,8 +240,8 @@ omg_delete() {
omg_validate_delete "$output" omg_validate_delete "$output"
} }
# Validate the response on request to delete. Confirm stastus is success and # Validate the response on request to delete.
# Message indicates deletion was successful # Confirm status is success and message indicates deletion was successful.
# Input: Response - HTTP response received from delete request # Input: Response - HTTP response received from delete request
omg_validate_delete() { omg_validate_delete() {
response=$1 response=$1