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 | protected static $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 | protected static $MOZSCAPE_ACCESS_ID = ''; |
||
30 | protected static $MOZSCAPE_SECRET_KEY = ''; |
||
31 | |||
32 | // To acquire a SISTRIX API key, visit: |
||
33 | // http://www.sistrix.de |
||
34 | protected static $SISTRIX_API_ACCESS_KEY = ''; |
||
35 | |||
36 | 4 | public static function getGoogleSimpleApiAccessKey() { |
|
39 | |||
40 | public static function setGoogleSimpleApiAccessKey($value) { |
||
43 | |||
44 | 6 | public static function getMozscapeAccessId() { |
|
47 | |||
48 | public static function setMozscapeAccessId($value) { |
||
51 | |||
52 | 1 | public static function getMozscapeSecretKey() |
|
56 | |||
57 | public static function setMozscapeSecretKey($value) |
||
61 | |||
62 | 13 | public static function getSistrixApiAccessKey() |
|
66 | |||
67 | public static function setSistrixApiAccessKey($value) |
||
71 | } |
||
72 |