1 | <?php |
||
18 | class ApiKeys |
||
19 | { |
||
20 | // To acquire an API key, visit Google's APIs Console here: |
||
21 | // https://code.google.com/apis/console |
||
22 | // In the Services pane, activate the "PageSpeed Insights API" (not the service!). |
||
23 | // Next, go to the API Access pane. The API key is near the bottom of that pane, |
||
24 | // in the section titled "Simple API Access.". |
||
25 | const GOOGLE_SIMPLE_API_ACCESS_KEY = ''; |
||
26 | |||
27 | // To acquire a Mozscape (f.k.a. SEOmoz) API key, visit: |
||
28 | // https://moz.com/products/api/keys |
||
29 | const MOZSCAPE_ACCESS_ID = ''; |
||
30 | const MOZSCAPE_SECRET_KEY = ''; |
||
31 | |||
32 | // To acquire a SISTRIX API key, visit: |
||
33 | // http://www.sistrix.de |
||
34 | const SISTRIX_API_ACCESS_KEY = ''; |
||
35 | |||
36 | 1 | public static function getGoogleSimpleApiAccessKey() { |
|
39 | |||
40 | public static function getMozscapeAccessId() { |
||
43 | |||
44 | public static function getMozscapeSecretKey() |
||
48 | |||
49 | public static function getSistrixApiAccessKey() |
||
53 | } |
||
54 |