|
1 | | -# Usage documentation |
| 1 | +# Usage |
2 | 2 |
|
3 | 3 | ## Slack token |
4 | 4 |
|
@@ -82,18 +82,22 @@ Here are some real-life examples of interacting with the SDK: |
82 | 82 |
|
83 | 83 | ## Under the hood |
84 | 84 |
|
85 | | -This library mostly contains automatically generated code from the official |
| 85 | +This library mainly contains automatically generated code from the official |
86 | 86 | [Slack OpenAPI spec](https://github.com/slackapi/slack-api-specs). |
87 | 87 |
|
88 | | -The library provides three kinds of PHP classes: |
89 | | -- [endpoints](https://github.com/jolicode/slack-php-api/tree/main/generated/Endpoint) represent requests to API methods |
90 | | -- [models](https://github.com/jolicode/slack-php-api/tree/main/generated/Model) represent data from the API |
91 | | -- [normalizers](https://github.com/jolicode/slack-php-api/tree/main/generated/Normalizer) transform JSON from the API to PHP models |
| 88 | +Four kinds of PHP classes are included: |
| 89 | +- [endpoints](https://github.com/jolicode/slack-php-api/tree/main/generated/Endpoint) represent the requests made to API methods; |
| 90 | +- [models](https://github.com/jolicode/slack-php-api/tree/main/generated/Model) represent data exchanged with the API; |
| 91 | +- [normalizers](https://github.com/jolicode/slack-php-api/tree/main/generated/Normalizer) transform JSON from the API to PHP models; |
| 92 | +- [runtime](https://github.com/jolicode/slack-php-api/tree/main/generated/Runtime) are classes needed to make Jane work. |
92 | 93 |
|
93 | | -If you use the `JoliCode\Slack\ClientFactory` to create the Client, you don't |
94 | | -have to understand how the library works internally. Calling one of its method |
95 | | -will make the HTTP request to the API and return the corresponding PHP object. |
| 94 | +If you use the `JoliCode\Slack\ClientFactory` to create the Client (which you |
| 95 | +should), you don't have to understand how the library works internally. |
| 96 | +Calling one of its method will make the HTTP request to the API and return the |
| 97 | +corresponding PHP object. |
96 | 98 |
|
97 | | -## Troubleshoots |
| 99 | +*** |
98 | 100 |
|
99 | | -Got some problems using this library? Need a missing feature? See the dedicated guide [about common troubleshoots](troubleshoots.md). |
| 101 | +Read more: |
| 102 | +- Next page: [Troubleshoots](3-troubleshoots.md) |
| 103 | +- Previous page: [Get started](1-get-started.md) |
0 commit comments