Get WordAds earnings
documentedGet WordAds earnings information about a site.
GET /sites/{site}/wordads/earningsSitesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/wordads/earnings?context={{$context}}&http_envelope={{$http_envelope}}&pretty={{$pretty}}&fields={{$fields}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"