Skip to content

uthsobcb/UniDirectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniDirectory

A list of Bangladeshi all university (UGC Approved) list.

UniDirectory is a simple and powerful REST API providing an up-to-date list of all UGC-approved universities in Bangladesh — including public, private, international, and CBHE (Cross-Border Higher Education) institutions.

Status Language Hosted on Fly.io License

Recently, I worked on a project that required displaying the names of all universities in Bangladesh. Since there was no available API providing this information, we had to manually list them in a JSON file. While learning Go and exploring web scraping, I thought—why not build an API myself? So here we are. A directory of universities of Bangladesh.

(No, its not a mistake if root url redirect you here it's working fine. since i hosted this on scale to zero so when its not running its unavailable. If you want this to run 24/7 please self host this. For any help mail me hello@uthsob.me )

Live API Endpoint

Base URL: https://unidirectory.fly.dev

GET /universities

Get a list of all universities (across all categories):

GET https://unidirectory.fly.dev/universities

Response:

[
  {
    "id": 1,
    "name": "University of Dhaka",
    "category": "Public",
    "website": "https://du.ac.bd",
    ...
  },
  ...
]

GET /universities?category={category}

Filter universities by category:

GET https://unidirectory.fly.dev/universities?category=Private

Available categories:

  • Public
  • Private
  • International
  • CBHE

GET /universities/:id

Get details of a specific university by its unique ID:

GET https://unidirectory.fly.dev/universities/5

POST /scrape

Scrape latest University data from Database!

🛠 Built With

  • Go+Gin – Backend and API
  • GoColly – For web scrapping
  • GORM + PostgreSQL – Data storage

If you find this helpful, please consider leaving a star on the GitHub repo! Your support motivates me to keep building useful tools!

About

A Bangladeshi University Directory (UGC Approved)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors