Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
alphavantage
project, focusing on adding functionality for retrieving ticker symbols and parsing time formats. The most important changes include the addition of a new module for handling ticker symbols, updates to the client to support ticker symbol searches, and new parsing functions for time formats.New functionality:
src/tickers.rs
: Added a new module to handle ticker symbol searches, including theSearchResults
andEntry
structs, and theparser
module for parsing search results.Client updates:
src/client.rs
: Updated the client to include a new methodget_tickers
for retrieving ticker symbols that match a specified query.src/client.rs
: Modified imports to include the newtickers
module.Parsing improvements:
src/deserialize.rs
: Added a new constantTIME_FORMAT
and a functionparse_time
to handle time parsing. [1] [2]Configuration updates:
Cargo.toml
: Updated the package version from0.7.0
to0.7.1
.Test additions:
tests/json/ticker_search_tesco.json
,tests/json/ticker_search_tencent.json
: Added new JSON test files for ticker symbol search results. [1] [2]