# baseball_trajectory > Baseball trajectory modeling and visualization ## Docs ### API Reference #### Data > Player search and per-player career queries against the MLB Stats API. - [data.refresh_cache](https://mjfrigaard.github.io/baseball-trajectory/reference/data.refresh_cache.html) - [data.get_player_career_totals](https://mjfrigaard.github.io/baseball-trajectory/reference/data.get_player_career_totals.html) - [data.search_player](https://mjfrigaard.github.io/baseball-trajectory/reference/data.search_player.html) - [data.get_batting_career](https://mjfrigaard.github.io/baseball-trajectory/reference/data.get_batting_career.html) - [data.get_pitching_career](https://mjfrigaard.github.io/baseball-trajectory/reference/data.get_pitching_career.html) #### Model > Weighted quadratic aging-curve fit and career summaries. - [model.is_lower_better](https://mjfrigaard.github.io/baseball-trajectory/reference/model.is_lower_better.html) - [model.fit_player_curve](https://mjfrigaard.github.io/baseball-trajectory/reference/model.fit_player_curve.html) - [model.fit_aging_curve](https://mjfrigaard.github.io/baseball-trajectory/reference/model.fit_aging_curve.html) - [model.predict_curve](https://mjfrigaard.github.io/baseball-trajectory/reference/model.predict_curve.html) - [model.summarize_career](https://mjfrigaard.github.io/baseball-trajectory/reference/model.summarize_career.html) - [model.BATTING_METRICS](https://mjfrigaard.github.io/baseball-trajectory/reference/model.BATTING_METRICS.html) - [model.PITCHING_METRICS](https://mjfrigaard.github.io/baseball-trajectory/reference/model.PITCHING_METRICS.html) #### Similarity > Bill James similarity scores. - [similarity.position_value](https://mjfrigaard.github.io/baseball-trajectory/reference/similarity.position_value.html) - [similarity.similarity_score](https://mjfrigaard.github.io/baseball-trajectory/reference/similarity.similarity_score.html) - [similarity.find_similar_players](https://mjfrigaard.github.io/baseball-trajectory/reference/similarity.find_similar_players.html) - [similarity.POSITION_VALUE](https://mjfrigaard.github.io/baseball-trajectory/reference/similarity.POSITION_VALUE.html) #### Plots > Matplotlib trajectory charts. - [plots.predict_curve](https://mjfrigaard.github.io/baseball-trajectory/reference/plots.predict_curve.html) - [plots.plot_trajectory](https://mjfrigaard.github.io/baseball-trajectory/reference/plots.plot_trajectory.html) - [plots.plot_empty](https://mjfrigaard.github.io/baseball-trajectory/reference/plots.plot_empty.html) - [plots.plot_trajectories_facet](https://mjfrigaard.github.io/baseball-trajectory/reference/plots.plot_trajectories_facet.html) - [plots.plot_peak_vs_curvature](https://mjfrigaard.github.io/baseball-trajectory/reference/plots.plot_peak_vs_curvature.html)