@@ -99,8 +99,10 @@ public Duolingo(string username, string password, HttpClient client)
99
99
#region Methods
100
100
101
101
/// <summary>
102
- /// Gets the TTS uri for any given lexeme .
102
+ /// Gets the TTS <see cref="Uri"/> for any given <see cref="Lexeme"/> .
103
103
/// </summary>
104
+ /// <param name="lexemeId">A string representing Id of the lexeme to be retrieved.</param>
105
+ /// <returns>An awaitable <see cref="Task{Uri}"/> representing the Uri of the TTS.</returns>
104
106
public async Task < Uri > GetTtsUrlAsync ( string lexemeId )
105
107
{
106
108
var lexeme = await GetLexemeDataAsync ( lexemeId ) . ConfigureAwait ( false ) ;
@@ -109,8 +111,9 @@ public async Task<Uri> GetTtsUrlAsync(string lexemeId)
109
111
}
110
112
111
113
/// <summary>
112
- /// Gets a list of known words from every learned skill .
114
+ /// Gets a list of known words from every learned <see cref="User.Skill"/> .
113
115
/// </summary>
116
+ /// <returns>A <see cref="List{T}"/> representing the words known by the user.</returns>
114
117
public List < string > GetKnownWords ( )
115
118
{
116
119
var words = new List < string > ( ) ;
@@ -127,8 +130,9 @@ public List<string> GetKnownWords()
127
130
}
128
131
129
132
/// <summary>
130
- /// Gets a list of learned skills .
133
+ /// Gets a list of learned <see cref="User.Skill"/> .
131
134
/// </summary>
135
+ /// <returns>A <see cref="List{T}"/> representing the <see cref="User.Skill"/> known by the user.</returns>
132
136
public List < User . Skill > GetLearnedSkills ( )
133
137
{
134
138
var skills = new List < User . Skill > ( ) ;
@@ -145,8 +149,10 @@ public List<string> GetKnownWords()
145
149
}
146
150
147
151
/// <summary>
148
- /// Gets the lexeme data through <c>https://www.duolingo.com/api/1/dictionary_page</c>.
152
+ /// Gets the <see cref="Lexeme"/> data through <c>https://www.duolingo.com/api/1/dictionary_page</c>.
149
153
/// </summary>
154
+ /// <param name="lexemeId">A string representing Id of the <see cref="Lexeme"/> to be retrieved.</param>
155
+ /// <returns>An awaitable <see cref="Task{Uri}"/> representing the <see cref="Lexeme"/> data.</returns>
150
156
public async Task < Lexeme . Root > GetLexemeDataAsync ( string lexemeId )
151
157
{
152
158
// Creates the lexeme that will be returned back
@@ -166,6 +172,7 @@ public List<string> GetKnownWords()
166
172
/// <summary>
167
173
/// Gets the user vocabulary data through <c>https://www.duolingo.com/vocabulary/overview</c>.
168
174
/// </summary>
175
+ /// <returns>An awaitable <see cref="Task{Uri}"/> representing the vocabulary of the user.</returns>
169
176
public async Task < Vocabulary . Root > GetVocabularyAsync ( )
170
177
{
171
178
var vocabulary = new Vocabulary . Root ( ) ;
@@ -182,8 +189,9 @@ public List<string> GetKnownWords()
182
189
}
183
190
184
191
/// <summary>
185
- /// Gets the user general info <see cref="DuolingoNET.UserInfo"/> .
192
+ /// Gets the user general info.
186
193
/// </summary>
194
+ /// <returns>A <see cref="UserInfo"/> representing various general info on the user.</returns>
187
195
public UserInfo GetUserInfo ( )
188
196
{
189
197
return new UserInfo
@@ -211,8 +219,10 @@ public UserInfo GetUserInfo()
211
219
}
212
220
213
221
/// <summary>
214
- /// Gets the user raw data info <see cref="DuolingoNET. User.Root"/>.
222
+ /// Gets the user raw data info <see cref="User.Root"/>.
215
223
/// </summary>
224
+ /// <returns>A <see cref="User.Root"/> representing the raw data on the user, as pulled from the API.
225
+ /// Lacks data on ads and tracking.</returns>
216
226
public User . Root GetUserDataRaw ( )
217
227
{
218
228
return userData ;
0 commit comments