jramboz / DTRPG_API

The results of me flailing at DTRPG trying to figure out their API
6 stars 1 forks source link

create_account_app data #1

Open JamesSkemp opened 2 years ago

JamesSkemp commented 2 years ago

Found this repo via your comment on https://gist.github.com/ivellios/ba31bbebc1dd5e76a2680302d3c15b58#gistcomment-3798363

In API Endpoints.md you mention that https://www.drivethrurpg.com/create_account_app.php can be used to get an API key, but the response is that an email and password are missing.

Do you have any documentation on this endpoint?

jramboz commented 2 years ago

Thanks for asking! No, I haven’t quite been able to figure out how that one works. The app is using it, but I can’t determine exactly what format it wants for supplying the username and password. It wants it as POST data somehow, I think, but the format eludes me. It also doesn’t seem to be too secure, since it’s sending your password in the clear (or at least storing it in the logs that way).

The workaround is to log into your DTRPG account and get your API key from there. Let me know if you need help finding it.

On Mon, Jan 3, 2022 at 6:17 PM James Skemp @.***> wrote:

Found this repo via your comment on https://gist.github.com/ivellios/ba31bbebc1dd5e76a2680302d3c15b58#gistcomment-3798363

In API Endpoints.md you mention that https://www.drivethrurpg.com/create_account_app.php can be used to get an API key, but the response is that an email and password are missing.

Do you have any documentation on this endpoint?

— Reply to this email directly, view it on GitHub https://github.com/jramboz/DTRPG_API/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL67M7EMUR566EVBRITV6TUUIU7ZANCNFSM5LGFZLMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JamesSkemp commented 2 years ago

Yes, help finding it would be great. :)

I've looked for it numerous times and can't find it.

jramboz commented 2 years ago

No problem. Log into DTRPG and go to your account page. Click on “My Account Settings.” On the info page that comes up, It’s under “Application Keys.”

Let me know if you still can’t find it and I’ll try to get some screenshots.

Sent from my iPhone

On Jan 3, 2022, at 6:37 PM, James Skemp @.***> wrote:

 Yes, help finding it would be great. :)

I've looked for it numerous times and can't find it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

JamesSkemp commented 2 years ago

Woohoo! Thanks!

https://www.drivethrurpg.com/account_edit.php

JamesSkemp commented 1 year ago

My initial, very basic, for testing, application is over in https://github.com/JamesSkemp/DriveThruRpg

Thanks again for this documentation; it was a helpful resource to review.