Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

WordPressReader (Standard)

WordPressReaderStd aims to simplify development of WordPress reader apps. It is written and compiled against .netStandard 2.1 (as of version 2.1.0). The only dependecy it has is Newtonsoft.Json just because you cannot find any better json-library out there.

The library is also available on Nuget

Features:

  1. get and filter:
  • posts
  • pages
  • comments
  • categories
  • media
  • tags
  • basic user info
  1. Allows anonymous commenting (requires additional setup on the WordPress site, though)
  2. MVVM-ready model implementation
  3. Contains some (quite useful) extensions and helpers
  4. Completely async

Basic usage:

All handlers follow the same principle:

//instantiate a handler
var handler = new PostsHandler();

//MVVMLight (or any other Locator):
SimpleIoc.Default.Register<IPostsHandler>(()=> new PostsHandler());

//get the latest or filtered data
var latestPosts = await _postsHandler.GetPostsAsync(BaseUrl, 20, 20, 1, categories);

You can get a more detailed overview in the Wiki

If you are experiencing difficulties or have ideas, feel free to contribute via issues or even pull requests.

Happy coding, everyone!

About

.net Standard library to get data from the WordPress API (v2) for blog reader apps.

Resources

License

Releases

No releases published

Packages

No packages published

Languages