Skip to content

Commit

Permalink
feat(integrations): add support for wordpress (NangoHQ#2394)
Browse files Browse the repository at this point in the history
## Describe your changes
Add support for wordpress
## Issue ticket number and link

[EXT-88](https://linear.app/nango/issue/EXT-88/add-support-for-wordpress)
## Test
This provider has been used successfully in local development to connect
to wordpress after authorizing using Nango. The documentation update was
reviewed using `npm run docs` and verifying on localhost.
  • Loading branch information
hassan254-prog authored Jun 25, 2024
1 parent 2d0ffe7 commit 9701cff
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs-v2/integrations/all/wordpress.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Wordpress
sidebarTitle: Wordpress
---

API configurations: [`wordpress`](https://nango.dev/providers.yaml)

## Features

| Features | Status |
| - | - |
| [Auth (OAuth)](/integrate/guides/authorize-an-api) ||
| [Sync data](/integrate/guides/sync-data-from-an-api) ||
| [Perform workflows](/integrate/guides/perform-workflows-with-an-api) ||
| [Proxy requests](/integrate/guides/proxy-requests-to-an-api) ||
| [Receive webhooks](/integrate/guides/receive-webhooks-from-an-api) | 🚫 (time to contribute: <48h) |

<Tip>We can implement missing features in &lt;48h, just ask for it in the [community](https://nango.dev/slack).</Tip>

## Getting started

- [Register an Application](https://developer.wordpress.com/apps/)
- [OAuth related docs](https://developer.wordpress.com/docs/oauth2/)
- [List of OAuth scopes](https://developer.wordpress.com/docs/oauth2/#token-scope)
- [Wordpress REST API docs](https://developer.wordpress.com/docs/api/)

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

## API gotchas
- The `access_token` generated is long lived and thus don't expire. For more details check [required parameters](https://developer.wordpress.com/docs/oauth2/#1-required-parameters-)
<Note>Add Getting Started links and Gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs-v2/integrations/all/wordpress.mdx)</Note>
1 change: 1 addition & 0 deletions docs-v2/integrations/cms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ sidebarTitle: CMS

<CardGroup cols={4}>
<Card title="Contentstack" href="/integrations/all/contentstack" color="#68a063" />
<Card title="Wordpress" href="/integrations/all/wordpress" color="#68a063" />
</CardGroup>
1 change: 1 addition & 0 deletions docs-v2/integrations/design.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@
<Card title="Pinterest" href="/integrations/all/pinterest" color="#68a063" />
<Card title="Squarespace" href="/integrations/all/squarespace" color="#68a063" />
<Card title="Woocommerce" href="/integrations/all/woocommerce" color="#68a063" />
<Card title="Wordpress" href="/integrations/all/wordpress" color="#68a063" />
</CardGroup>
1 change: 1 addition & 0 deletions docs-v2/integrations/dev-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ sidebarTitle: Developer Tools
<Card title="Snowflake" href="/integrations/all/snowflake" color="#68a063" />
<Card title="Squarespace" href="/integrations/all/squarespace" color="#68a063" />
<Card title="Woocommerce" href="/integrations/all/woocommerce" color="#68a063" />
<Card title="Wordpress" href="/integrations/all/wordpress" color="#68a063" />
<Card title="Wakatime" href="/integrations/all/wakatime" color="#68a063" />
</CardGroup>
1 change: 1 addition & 0 deletions docs-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@
"integrations/all/whoop",
"integrations/all/wildix-pbx",
"integrations/all/woocommerce",
"integrations/all/wordpress",
"integrations/all/workable",
"integrations/all/wrike",
"integrations/all/xero",
Expand Down
16 changes: 16 additions & 0 deletions packages/shared/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2791,6 +2791,22 @@ wildix-pbx:
docs: https://docs.nango.dev/integrations/all/wildix-pbx
proxy:
base_url: https://${connectionConfig.subdomain}.wildixin.com
wordpress:
categories:
- dev-tools
- design
- cms
auth_mode: OAUTH2
authorization_url: https://public-api.wordpress.com/oauth2/authorize
token_url: https://public-api.wordpress.com/oauth2/token
scope_separator: ' '
authorization_params:
response_type: code
token_params:
grant_type: authorization_code
proxy:
base_url: https://public-api.wordpress.com/rest/v1
docs: https://docs.nango.dev/integrations/all/wordpress
woocommerce:
categories:
- e-commerce
Expand Down
1 change: 1 addition & 0 deletions packages/webapp/public/images/template-logos/wordpress.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9701cff

Please sign in to comment.