We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50eecee commit 71cee7dCopy full SHA for 71cee7d
doc/api_version.md
@@ -0,0 +1,14 @@
1
+## Api version
2
+[Back to the navigation](README.md)
3
+
4
+If you want to change the API version from its default ("v3") you may do that with
5
+the `setApiVersion` function.
6
+For example:
7
8
+```php
9
+$client = new Github\Client();
10
11
+echo $client->getApiVersion(); // prints "s3"
12
13
+$client->setApiVersion("v2");
14
+```
0 commit comments