The data API allows you to view all types of data available.
This API lets you retrieve and view a simple list of available data endpoints.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveApiData().then( (apiData) {
print(apiData.toJson());
});
});
ApiData instance
Represents the following object - WooCommerce list all data
This API helps you to view all the continents.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getContinentData().then( (apiData) {
print(apiData.toJson());
});
});
Continents instance
Represents the following object - WooCommerce list all continents
This API lets you retrieve and view a continent data.
String location,
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveContinentDataByLocation(String location).then( (continents) {
print(continents.toJson());
});
});
Continents instance
Represents the following object - WooCommerce retrieve continent data
This API helps you to view all the countries.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getCountries().then( (countries) {
print(countries.toString());
});
});
List<Countries> instance
Represents the following object - WooCommerce list all countries
This API lets you retrieve and view a country data.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveCountryData(String location).then( (countries) {
print(countries.toJson());
});
});
Countries instance
Represents the following object - WooCommerce retrieve country data
This API helps you to view all the currencies.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.getCurrencies().then( (currencies) {
print(currencies.toString());
});
});
List<Currencies> instance
Represents the following object - WooCommerce list all currencies
This API lets you retrieve and view a currency data.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveCurrencyData(String currency).then( (currencies) {
print(currencies.toJson());
});
});
Currencies instance
Represents the following object - WooCommerce list all currencies
This API lets you retrieve and view store's current currency data.
// CONFIG FOR WOOSIGNAL
var wsConfig = {
"appKey":"your app key",
"debugMode":true
};
// CREATING AN INSTANCE
WooSignal.getInstance(config: wsConfig).then( (wcStore) {
wcStore.retrieveCurrentCurrencyData().then( (currencies) {
print(currencies.toJson());
});
});
Currencies instance
Represents the following object - WooCommerce retrieve current currency