Write a WP shortcode that uses wp_remote_get() to get current logged in user data from an endpoint

Job ID: 34428909

Budget: $10 – $30 USD

Need someone to write a wordpress shortcode that gets data from the SendInBlue API (https://developers.sendinblue.com/reference/getcontactinfo-1) using the wp_remote_get() function.

This shortcode will be used in a logged in user area. https://api.sendinblue.com/v3/contacts/{USEREMAIL} should be requested (get user email from logged in user data), and return the custom field TMEMBERID from SendInBlue. Fallback when error should show 'Unavailable'
Related categories: PHP WordPress CSS API Web API