Skip to content

Commit

Permalink
Change getTimetable -> getCustomTimetable
Browse files Browse the repository at this point in the history
It's under the "getCustomTimetable" header, which is about the getCustomTimetable function, not the getTimetable one
  • Loading branch information
enteryournamehere authored Sep 21, 2017
1 parent 1a7baba commit b969e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ A lot of data, better see for yourself...
```js
TimeTableEntity = require("untis-api").Entities.TimeTableEntity;

w.getTimetable(new TimeTableEntity(1, 5), {
w.getCustomTimetable(new TimeTableEntity(1, 5), {
showSubstText: true,
showLsText: true,
klasseFields: ["name"],
Expand All @@ -358,7 +358,7 @@ w.getTimetable(new TimeTableEntity(1, 5), {
}).then(data => console.log(data));
```
#### Parameters
`getTimetable(tte, paramsObject)`
`getCustomTimetable(tte, paramsObject)`
* tte: a TimeTableEntity containing the person whose timetable you want to watch's id and personType
* paramsObject: a Object with all custom parameters as properties of this object with their respective value

Expand Down

0 comments on commit b969e13

Please sign in to comment.