* Derives the NoteStore URL from a developer token.
(token: string)
| 54 | * Derives the NoteStore URL from a developer token. |
| 55 | */ |
| 56 | function getNoteStoreUrl(token: string): string { |
| 57 | const shardId = extractShardId(token) |
| 58 | return `https://${getHost(token)}/shard/${shardId}/notestore` |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Sends a Thrift RPC call to the Evernote NoteStore via HTTP POST. |
no test coverage detected