Title: [Plugin: Extended API] Usage
Last modified: August 19, 2016

---

# [Plugin: Extended API] Usage

 *  Resolved [meira](https://wordpress.org/support/users/meira/)
 * (@meira)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-extended-api-usage/)
 * Works like a charm.
 * Usage in Python :
 *     ```
       # Fetch november 2010 posts
        import xmlrpclib
        wp_site = 'http://my-wp-site.com/xmlrpc.php'
        server = xmlrpclib.ServerProxy( wp_site )
        loginname = 'myusername'
        password = 'mypass'
        method='get_posts'
        arg =['numberposts=100&offset=0&year=2010&monthnum=11']
        posts = server.extapi.callWpMethod(loginname,password,method,arg)
        print 'Find',len(posts),'posts:'
        for post in posts:  # get posts dictionaries list
           for k in post:  # get dict
              print k,":",post[k]  # print keys and contents
       ```
   
 * Thist code fetch 100 posts in 10 seconds.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [michaelgrosser](https://wordpress.org/support/users/michaelgrosser/)
 * (@michaelgrosser)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854446)
 * Glad to hear it! Please feel free to let me know if you have any suggestions 
   for improvement.
 *  Thread Starter [meira](https://wordpress.org/support/users/meira/)
 * (@meira)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854466)
 * Access to $wpdb class would be fine, to make remote SQL requests…
 *  Plugin Author [michaelgrosser](https://wordpress.org/support/users/michaelgrosser/)
 * (@michaelgrosser)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854507)
 * That’s a good idea, though it’s significantly more involved than accessing the
   procedural functionals.
 * I’ll look into it for a future update for sure, as it would definitely open up
   things to outside access even further.
 *  [mmtrav](https://wordpress.org/support/users/mikeyleung/)
 * (@mikeyleung)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854564)
 * Is this offering what you want, Meira?
 * [http://www.coderstd.com/products/xmlrpc-api-wp/index.html](http://www.coderstd.com/products/xmlrpc-api-wp/index.html)
 *  [StErMi](https://wordpress.org/support/users/stermi/)
 * (@stermi)
 * [15 years ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854585)
 * Got an error using wp_signon
 * someone know why?
 * This is code: [http://pastebin.com/wrJePTdJ](http://pastebin.com/wrJePTdJ)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Extended API] Usage’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/extended-xml-rpc-api.svg)
 * [Extended API](https://wordpress.org/plugins/extended-xml-rpc-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/extended-xml-rpc-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/extended-xml-rpc-api/)
 * [Active Topics](https://wordpress.org/support/plugin/extended-xml-rpc-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/extended-xml-rpc-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/extended-xml-rpc-api/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [StErMi](https://wordpress.org/support/users/stermi/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-extended-api-usage/#post-1854585)
 * Status: resolved