API for Poker Mavens API for Poker Mavens

API for Poker Mavens

Created by: Charles Drenth

Rating:
Downloaded: 1k times

This program adds shortcodes for some basic Poker Mavens API functionality. They are based on the examples at https://www.briggsoft.com/docs/pmavens/API_Examples.htm
on the Poker Mavens Support site.

Shortcodes include:
[pmapi_server_stats] – Adds the server stats.

[pmapi_server_top players=”#”] – Adds the Top # Chip leaders (default is 10).

[pmapi_userinfo] – Adds a page to update basic userinfo of the username that matches the username of the wordpress user. If there is no matching name on the Poker Mavens server, a page to create one will be shown.

[pmapi_login] – Adds a login username and password form. If user is logged in it will output a button to sign out and a button linking to the poker server. If logged in and there is no username on the poker server that matches the wordpress username, the api will create one.

[pmapi_rawdata] – Outputs raw data (for testing purposes).

[pmapi_playbutton signin=”yes” signintext=”Click Here to Sign in and Play!”] – Displays a playbutton, or a signin link if there is nobody logged in. Does not display anything if no options are stet. If signin is “yes” default signin text is “Sign In” if it is not set.

Screenshots

  • screenshot-1.jpg - Settings page
  • screenshot-2.jpg - API shortcode output
  • screenshot-3.jpg - Player Admin
  • screenshot-4.jpg - Game Admin

Categories

Get New Themes & Resources