Provider API \ List all providers PHP SDK

Resource/URI GET
Providers /providers.json List all providers

Workflow

Request: the code to send to the API

Send a GET request to the resource /providers.json to obtain the list of providers.

You can use this endpoint without authentication in order to retrieve the list of providers supported by the OneAll API. In this case the resultset will not contain any confidential data like for example your consumer keys.

Result: the code returned by the API

The API will return the list of your providers. For authenticated requests the list also includes sensitive data like for example the configuration status and the access keys of each provider.

Example Resultset

  {
  	"response": {
      "request": {
        "date": "Wed, 08 Apr 2015 16:20:38  0200",
        "resource": "/providers.json",
        "status": {
          "flag": "success",
          "code": 200,
          "info": "Your request has been processed successfully"
        }
      },
      "result": {
        "data": {
          "providers": {
            "count": 27,
            "entries":[
              {
                "name": "Amazon",
                "key": "amazon",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 610782243,
                    "consumer_key": "vj140l8hxk1dkzln5h681bgf2owd03",
                    "consumer_secret": "vqavihw8sennqoycy60sj681u2usfi"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Blogger",
                "key": "blogger",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": true,
                  "user_input_type": "username"
                }
              },
              {
                "name": "Disqus",
                "key": "disqus",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 19376869,
                    "consumer_key": "0dee8fkwg0i60g9d2a92nlj0gntprq",
                    "consumer_secret": "61oxvjab7xuldmge5n3vwo9k0ypvgx"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Draugiem",
                "key": "draugiem",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 298306391,
                    "consumer_key": "bdmuoxmhnpf7b9ea9913wwz7joou5l",
                    "consumer_secret": "huae57cu82jvzmu2770pc14k3bmdd6"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Facebook",
                "key": "facebook",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1003288305,
                    "consumer_key": "lbubp8tzkktchamvfy4bm9erd7utf5",
                    "consumer_secret": "4rtr4ytprkvb1t0exbj919yfblxtkq"
                  },
                  "application_keys": {
                    "access_token": "av67qghrz3a0821vikmsfa1q9gj1si",
                    "access_token_secret": "1zgp5gs0agk009lwrp9256pjl5lizs"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Foursquare",
                "key": "foursquare",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1919613341,
                    "consumer_key": "5yun4d6mznf36ccv6qz3rm2pbdthfk",
                    "consumer_secret": "tcz1fsqe0t2l0cpdbb50h36zpsljnd"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Github.com",
                "key": "github",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 61159632,
                    "consumer_key": "znvqmyz9kiw2hnjzw1j68389hrz2bv",
                    "consumer_secret": "rsi5gcoh9sttjtf3qlsa76ouxqpo85"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Google",
                "key": "google",
                "is_configurable": true,
                "configuration": {
                  "is_required": false,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 276889745,
                    "consumer_key": "rw55rr5x6pd2r2lqx6ap7lnu0i9dpi",
                    "consumer_secret": "0op6307c63i8lfxtgung6txye5b545"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Instagram",
                "key": "instagram",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1331554208,
                    "consumer_key": "fuzzgcqtzdqopsz0rsrz3icf0x7k1n",
                    "consumer_secret": "o7r1rsfck3vbz1y2xpbk7k7vw2ttw5"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "LinkedIn",
                "key": "linkedin",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 138406716,
                    "consumer_key": "z8lz7qozp664lggmiggjjkxnh9nf4y",
                    "consumer_secret": "vg5g0fria1szxxmyzgfj7udggrk8sz"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "LiveJournal",
                "key": "livejournal",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": true,
                  "user_input_type": "username"
                }
              },
              {
                "name": "Mail.ru",
                "key": "mailru",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": true,
                  "user_input_type": "username"
                }
              },
              {
                "name": "Odnoklassniki",
                "key": "odnoklassniki",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1306452591,
                    "consumer_key": "4567gc030bajmtzrt64kona25xx812",
                    "consumer_secret": "105i8sbu3ze7usie80k0e59qpi3zwm"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "OpenID",
                "key": "openid",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": true,
                  "user_input_type": "url"
                }
              },
              {
                "name": "PayPal",
                "key": "paypal",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 2018760034,
                    "consumer_key": "a8e609vrzbgzd1bvfadxgc7657uiev",
                    "consumer_secret": "5228kwszl1wtq22lo60ieiprb384f5"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Reddit",
                "key": "reddit",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1690552908,
                    "consumer_key": "hpxvpvr4fzr4fmt79umos82fq7c0tx",
                    "consumer_secret": "qktrwt20wrazkvycudtqbbk31ntk4s"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Skyrock.com",
                "key": "skyrock",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1591015308,
                    "consumer_key": "2uerh8bu1fb0qq7dmw56apm9qira35",
                    "consumer_secret": "un3z7axm8psqsrw9opcdjfwi803edi"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "StackExchange",
                "key": "stackexchange",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Steam",
                "key": "steam",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 549090517,
                    "consumer_key": "6c30ctij82ta72mrvbwycf86e7ovj5",
                    "consumer_secret": "mordug41bezev6h0kvxevrpww5e86s"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Twitch.tv",
                "key": "twitch",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 624316434,
                    "consumer_key": "9zflqyt9ktx3nvxi60yb1jdqke8zpm",
                    "consumer_secret": "i02w82jfo8c7cq0xjc4sgt9v7avz4t"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Twitter",
                "key": "twitter",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1504896378,
                    "consumer_key": "snk7ng1ntqvk6ns6er6wsiuybou6fd",
                    "consumer_secret": "c2bthyhi5tb5ux4a3ew2hr77u6e1n0"
                  },
                  "developer_keys": {
                    "access_token": "t5meolv91b1enl3su05w7zr503l0nz",
                    "access_token_secret": "94m9bkvlwy4z022vzhodux5ic5m9kv"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Vimeo",
                "key": "vimeo",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1021508341,
                    "consumer_key": "mzqbke98z3onda2miij4x7tu6dknx2",
                    "consumer_secret": "5gmnxsie5gymm2pxcxzgm872y1vd9k"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "VKontakte",
                "key": "vkontakte",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 1627314242,
                    "consumer_key": "lyeil7l455p461soz7frk5yxv12zgg",
                    "consumer_secret": "at5gtm6lydjq4k5mkve4li4iamzugl"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "Windows Live",
                "key": "windowslive",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 806999240,
                    "consumer_key": "nli685qcuafifslw2xn59a890v67ot",
                    "consumer_secret": "fm6xwt5bgqogeafbwyaqiutlvl7l59"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "WordPress.com",
                "key": "wordpress",
                "is_configurable": false,
                "authentication": {
                  "is_user_input_required": true,
                  "user_input_type": "username"
                }
              },
              {
                "name": "Yahoo",
                "key": "yahoo",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 570729350,
                    "consumer_key": "r06kobetcj3h5qsodiq6robl9k95rs",
                    "consumer_secret": "a6vurfq5cv48rh03cepjtcpwf3c7gc"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              },
              {
                "name": "YouTube",
                "key": "youtube",
                "is_configurable": true,
                "configuration": {
                  "is_required": true,
                  "is_completed": true,
                  "consumer_keys": {
                    "consumer_id": 962353374,
                    "consumer_key": "sppg989o00t54o9zvjvp4ctpoxzriq",
                    "consumer_secret": "e5c7f07mit3w48thsfpqx2hmocodp7"
                  }
                },
                "authentication": {
                  "is_user_input_required": false
                }
              }
            ]
          }
        }
      }
    }
  }
  

User Contributed Notes