Skip to content

Welcome to the Pregnancy Calculator API! πŸŽ‰ This API serves as your ultimate companion for all things pregnancy-related, offering four unique endpoints tailored to your needs.

License

Notifications You must be signed in to change notification settings

dakidarts/pregnancy-calculator-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pregnancy Calculator API

Cover Photo

✨ Overview

Welcome to the Pregnancy Calculator API! This API provides endpoints for calculating various aspects related to pregnancy, including the Fertility Window, Pregnancy Due Date, Pregnancy Week, and Pregnancy Weight Recommendation. With this API, you can easily integrate these calculations into your applications, websites, or any other projects.

πŸš€ Features

  • Fertility Window Calculation: Calculate the fertility window based on menstrual cycle length and date.
  • Pregnancy Due Date Prediction: Predict the due date of pregnancy based on the last menstrual period or conception date.
  • Pregnancy Week Estimation: Estimate the current week of pregnancy based on the last menstrual period or conception date.
  • Pregnancy Weight Recommendation: Calculate recommended pregnancy weight based on pre-pregnancy weight, height, and gestational age.

🏁 Getting Started

To get started, you need to subscribe to the API on RapidAPI. Visit Pregnancy Calculator API on RapidAPI and subscribe to start using the API in your projects.

⚑️ Usage Examples

Fertility Window:

curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/fw?cycle_length=28&menstrual_date=2023-06-01' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY' 

Pregnancy Due Date:

  • By Last Menstrual Period:
curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/dd/lmp?last_period_date=2023-01-01&cycle_length=28' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
  • By Conception Date:
curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/dd/conception?conception_date=2023-05-01' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'

Pregnancy Week:

  • By Last Menstrual Period:
curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/pw/lmp?last_period_date=2023-01-01&cycle_length=28' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'
  • By Conception Date:
curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/pw/conception?conception_date=2023-05-01' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'

Pregnancy Weight Recommendation:

curl --request GET \
	--url 'https://pregnancy-calculator-api.p.rapidapi.com/pwr?pre_pregnancy_weight=60&height=1.65&gestational_age=20' \
	--header 'X-RapidAPI-Host: pregnancy-calculator-api.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: SIGN-UP-FOR-KEY'

πŸ”¨ Issues

If you encounter any issues or have suggestions for improvements, please feel free to open an issue on GitHub.

βš–οΈ License

This project is licensed under the MIT License - see the LICENSE file for details.

🌍 Follow Us

About

Welcome to the Pregnancy Calculator API! πŸŽ‰ This API serves as your ultimate companion for all things pregnancy-related, offering four unique endpoints tailored to your needs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published