Tag: api

Apps, Blog

fn-cors-proxy-with-auto-refresh

This script will run a simple CORS server for Fortnox API: https://developer.fortnox.se/documentation/ It will also refresh the API token every 30 minutes and will use it automatically allowing us access to Fortnox API. We do not need to provide Fortnox API token. There should be a token file with client ID & secret with same …

modules

ac-apps-minimal-api-fortnox

api/fortnox.js

Makes it easy to work with Fortnox API.

Example:
app.api.fortnox.createOrder(options, order);
app.api.fortnox.updateCustomer(options, customer);
app.api.fortnox.getCustomers(options, email);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Available Methods: createOrder, updateCustomer, createCustomer, getCustomers

modules

ac-apps-minimal-api-woo

api/woo.js

Makes it easy to work with the WooCommerce API and perform tasks such as fetching and updating products. Fetches all records/products if page number not provided.

Example:
app.api.woo.getProducts(options);
app.api.woo.updateProduct(options, product);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Available Methods: updateOrder, list, updateProduct, getLoadedProduct, getProduct, getProducts, getOrders

Blog

How to create a WordPress blog post using WP CLI (remote too)

We can create a WordPress blog post using WordPress CLI (Command line interface) tool: wp-cli Please follow the installation instructions for your system on this page: https://wp-cli.org/ After we have installed, we can use the wp command now. We can also use this command to create a blog post even if the blog is on …

modules

ac-apps-minimal-api-airtable

api/airtable.js

Makes it easy to work with the Airtable API and perform tasks such as fetching and updating records. Fetches all records if page number not provided.

Example:
app.api.woo.getProducts(options);
app.api.woo.updateProduct(options, product);

A module for ac-bundle-app, published by ac-bundle-module. namespace: ac-apps-minimal

Available Methods: getRecords