Skip to content

Instantly share code, notes, and snippets.

@Rishabh04-021
Created January 28, 2020 10:48
Show Gist options
  • Select an option

  • Save Rishabh04-021/47b76f33ffd60eb973bfefa1da7bf062 to your computer and use it in GitHub Desktop.

Select an option

Save Rishabh04-021/47b76f33ffd60eb973bfefa1da7bf062 to your computer and use it in GitHub Desktop.
"""
Getting the reading speed of student
Route:
/api/v1/reading/
Args:
request:
required:
class: integer(2)
subject: string(15)
Returns:
{
data :[
{
class: integer(2)
subject: string(15)
sample: string(64)
startTime: timestamp
endTime: timestamp
readingSpeed: int(3)
totalCorrectWords: integer
}
]
}
Sample request:
/api/v1/reading/?class=1&subject=English
Request Output:
{
data :[
{
class: 1
subject: English
sample: "This is a sample sentence"
startTime: 16:14:01 26-01-2020
endTime: 16:14:20 26-01-2020
readingSpeed: 5
totalCorrectWords: 4
}
]
}
Getting the numeracy details of student
Route:
/api/v1/numeracy/
Args:
request:
required:
class: integer(2)
subject: string(15)
Returns:
{
data :[
{
class: integer(2)
subject: string(15)
sample: string(64)
startTime: timestamp
endTime: timestamp
totalCorrectSounds: integer
}
]
}
Sample request:
/api/v1/reading/?class=1&subject=English
Request Output:
{
data :[
{
class: 1
subject: English
sample: "This is a sample sentence"
startTime: 16:14:01 26-01-2020
endTime: 16:14:20 26-01-2020
totalCorrectSounds: 4
}
]
}
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment