WordPressAPI class

Constructors

WordPressAPI(String site, {WooCredentials? wooCredentials, Dio? dio})

Properties

application_passwords → _ApplicationPasswords
no setter
categories → _Categories
no setter
comments → _Comments
no setter
hashCode int
The hash code for this object.
no setterinherited
jobs → _JobListings
Job Listings endpoints provided by [WP Job Manager] plugin
no setter
media → _Media
no setter
pages → _Pages
no setter
posts → _Posts
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
no setter
site String
WordPress website base url
getter/setter pair
tags → _Tags
no setter
taxonomies → _Taxonomies
no setter
users → _Users
no setter
wooCredentials WooCredentials?
WooCommerce API credentials
final

Methods

fetch(String endpoint, {String namespace = wpNamespace, Map<String, dynamic>? args}) Future<WPResponse>
Retrieves data from a given endpoint and resturns a WPResponse
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited