A wordpress plugin for Login by Bitbucket and so more.

Issue #8859 invalid
hadi khosrojerdi
created an issue

.

A lightweight wordpress plugin that helps you to login to your site by using a "Login by BitBucket" system and it enables developers to run most of server side ability in plugin or theme by using of BitBucket API, This includes access to all features of the version 1 and version 2 Bitbucket API .

So a developer can to create wordpress plugins or themes using of a simple php class named WP_Bucket and BitBucket API.

This plugin created based on OAuth class and wp_remote_request function.

Read More ...

Comments (5)

  1. hadi khosrojerdi reporter

    Thanks @Justen Stepka . :)

    The most important my suggestions is api search for all repositories. for example below code on my plugin get 35 repositories after year 2013.

    .

    <?php
    global $WP_Bucket;
    $WP_Bucket->api("2.0/repositories/", "GET", array(
        "query_params"  => array(
                            "after"     => "2013",
                            "pagelen"   => 35
                        )
        ));
    
    ?>
    

    I need to more search on repositories, maybe "language" parameter or search on "title" or "content" repository .

    for example :

    .

    <?php
    
    global $WP_Bucket;
    $WP_Bucket->api("2.0/repositories/", "GET", array(
    "query_params"  => array(
                        "after"    => "2013",
                        "pagelen"    => 30,
                        "language"  => "php",
                        "name"        => "wordpress", // repo slug name( %wordpress%)
                    )
    ));
    
    ?>
    
  2. Log in to comment