Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit 7c30a86

Browse files
committed
Add languages
1 parent cad6cfe commit 7c30a86

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,28 @@
22

33
Great to have all your Service-Now incidents, changes, tasks etc... on a beautiful dashboard for example !
44

5+
## TODO
6+
7+
58
## How to use Service-Now-PHPClient ?
69

710
To use Service-Now-PHPClient, you must have to declare this in your files.
811

9-
```
12+
```php
1013
require_once("./SNClient/SNClient.php");
1114
```
1215

1316
You need to use credentials to connect your website to Service-Now.
1417
(You have to create a generic account if possible or use a normal account. Here we used an account from a developper instance from Service-Now.)
1518

16-
```
19+
```php
1720
$SNClient = new ServiceNowClient($instance, $username, $password);
1821
```
1922

2023
Here, we verify that we can login on Service-Now and we display all number of first 10 incidents ! (see parameters on
2124
Service-Now docs.)
2225

23-
```
26+
```php
2427
if($SNClient->Authenticated()){
2528
foreach($SNClient->GETFromTable("incident", "sysparm_limit=10")->result as $incidents)
2629
{

0 commit comments

Comments
 (0)