Developers
Mostly about Wild Apricot API. Feel free to share examples of your code!
10 results found
-
1 vote
Wild Apricot does not provide direct access to the database. Please use API instead.
-
Update User's group participation api V2.2
I'm trying to update a user's group participation via the put endpoint /accounts/{accountId}/contacts/{contactId}. I'm getting a 200 returned, but the returned model doesn't reflect the attempted updates. Any advice is appreciated. The following is the relevant section of json for the update.
"FieldValues": [{
"FieldName": "Group participation",
"Value": [
{
"Id": 559646,
"Label": "tmpCardGroup"}],
"SystemCode": "Groups"
}]1 voteFeel free to comment if your issue remains unresolved
-
API Documentation
Can someone point me to documentation describing how to get started developing on top of Wild Apricot, including what language to use to interact with the API? I'm a developer but haven't developed on top of a content management system before. I need to be able to display information from the Member table for a specific event.
1 voteAPI specification: https://app.swaggerhub.com/search?query=%20WildApricot
Help pages: https://gethelp.wildapricot.com/en/categories/32-wild-apricot-apis
Code samples: https://github.com/WildApricot/ApiSamples
Instead of writing code you could use Integromat service to implement you custom automation. Here is a link for quick start: https://gethelp.wildapricot.com/en/articles/1653
-
getting an oath token using curl
I am attempting to write a tiny app to download my club's calendar from wild apricot. I plan to write this in python 3, triggered by cron. The first step is to get an oauth token. As a test I tried the following curl command but I receive a 401/unauthorized error. Please note that XXXXX is not my real application ID :-)
I tried variations, and also some similar code in python with the same result.
Any hints?
curl -v -H 'Authorization: Basic BASE64ENCODED("XXXXX")' -H 'Content-Type: application/json' -H 'Transfer-Encoding: chunked' -d '{"granttype":"client_credentials", "scope":"auto"}' https://oauth.wildapricot.org/auth/token
1 voteHere is an example
1 Build your Authorization header.
– Assume you API key is b8gxv-njhci-XXXXXXXXXXXX-50
– encode the line “APIKEY:b8gxv-njhci-XXXXXXXXXXXX-50”, you will get
“QVBJS0VZOmI4Z3h2LW5qaGNpLVhYWFhYWFhYWFhYWC01MA==”2 use this value to make a call
curl -X POST \
https://oauth.wildapricot.org/auth/token \
-H ‘Authorization: Basic QVBJS0VZOmI4Z3h2LW5qaGNpLVhYWFhYWFhYWFhYWC01MA==’ \
-H ‘Content-Type: application/x-www-form-urlencoded’ \
-d ‘scope=auto&grant_type=client_credentials’==
I recommend to use POSTMAN before writing any code. -
Need to redirect OLD WA page address to NEW WA page address
I used to make an index.html file with a meta redirect tag but this doesn't happen with WA according to Tech Support.
We originally had a WA site that was modified and the new site has the same pages with different URLs. Our fear is that, for instance, someone may have bookmarked the OLD site's page, and when clicked on brings them to the wrong page.
Help?
1 voteThis could be done with a piece of JS code on obsolete pages. Here is an article about using custom JS on pages: https://gethelp.wildapricot.com/en/articles/212
-
Export members data into Google docs
How do I export Member data directly into a Google Doc (live)? Step-by-Step for newbies.
1 voteIf you need one time export, just make an export to Excel file (https://help.wildapricot.com/display/DOC/Exporting+members+and+other+contacts) and then upload this file to google drive.
If you want to do it on regular basis, you could make some automation using google script. We have a sample code in google script (https://github.com/WildApricot/ApiSamples/tree/master/GoogleScript), which could be a good starting point for your project.
-
daily member data import
I would like to pick up membership data from a gold database (Adds, edits, deletes) and put into each chapters database (each chapter has a version of WA) - Thanks
1 voteIt is possible with Public API. Please take a look at our help: help.wildapricot.com/display/DOC/API+V2+calls
-
Use of Event Registration IDs
I am using the API to determine if members have registered or their registration has been cancelled for an Event.
At the moment I cannot see any way of knowing that a registration has been cancelled from the API.
So, I will need to check if the registrations have changed or not since the last time it was checked. This means saving the Event Registration IDs in a file.
What is the valid range of a Registration ID?1 voteUnfortunately there is no edit timestamp in event registration data structure.
Registration Id could be any integer from 0 to 2147483647.In your case I would recommend to store all registrations as JSON in some file or database and check it’s state from time to time.
-
Another Integration #WildApricot & #WordPress
Another Integration #WildApricot & #WordPress
Site - http://CCAfrica.Ca
http://nicasiodesign.com/wordpress/custom-wordpress-wild-apricot-integration-again/
1 vote -
Work around for sorting members who are using their photo albums.
I created a question (required to Members) "Are you using your albums to display your art?" Yes/No
The membership field was made public
I then created a saved search on the new membership field that allows me to pull out only members who have a "yes"
I created another Membership directory on a separate page. So I have 2 membership directories in use. One that displays all members and another that displays members who are using their photo albums.
I created a link on my home page directing the public to view the membership directory only for those who have…
1 vote
- Don't see your idea?