• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Using a generator thru an API: do we have examples?

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
What are the ways I could use generator thru the APIs.

There is the Wordpress plugin but I think it cannot be used with Wordpress.com as it does not support plugins? Are there other ways. Could we have a common Wordpress page supporting plugins where we all could contribute?
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
You could use this JS example: https://docs.campaign-logger.com/doku.php?id=api:generator to directly interact with the service, but this requires sending your code to the server via client side script and it currently does not support private generators and libraries.

You could also look at the WP plugin code (https://github.com/open-campaign-logger/generator-wordpress-plugin) and derive something else for your purposes.

Wordpress-based solutions might involve a new site with a different provider who allows plugins or just any PHP app.

If you want to use private generators you would need to provide at least a read-only key to access them. On a shared Wordpress site this would be visible to everyone else.
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
Cool. We could try out the Random Creation. Thanks for the offer. How to go about it?
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Cool. We could try out the Random Creation. Thanks for the offer. How to go about it?
I guess the handiest way is if you follow the blog using the Wordpress bar in the lower right hand corner, you get added to the user list. I can then promote you and that's it.
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
notesfrompavis.blog is the more active blog and it is about RPGs. Could not find the Wordpress bar nor the follow button...
 
Top