bd-instituition-list-by-solutya
v1.2.0
Published
This package includes all bangladeshi educational institution list (School, College, Madrasa, University)
Downloads
28
Readme
bd-instituition-list-by-solutya
This is an npm package providing a comprehensive database of all institutes in Bangladesh. Whether you're building an educational app, conducting research, or simply need access to information about schools, colleges, or universities in Bangladesh, this package offers a convenient solution.
Features
- Extensive Database: Access detailed information about schools, madrasa, colleges, and universities across Bangladesh.
- Easy Integration: Integrate seamlessly into your Node.js projects with simple API calls.
- Data Specificity: Tailored data fields for each institution type:
- Schools: Includes "eiin" (Educational Institution Identification Number), "name", "institutionType", and "version".
- Colleges: Includes "eiin", "name", and "institutionType".
- Universities: Provides comprehensive details such as "name", "shortName", "institutionType", "category", and "department".
- Up-to-Date Information: Regularly updated database ensures you have the latest information at your fingertips.
- Flexible Searching: Search by institution parameters to find the information you need quickly.
Installation
Install bd-instituition-list-by-solutya with npm
npm i bd-instituition-list-by-solutya
All Methods
All Institute Data:
getAllInstitute(),
getAllInstituteNames(),
getAllInstituteByType(),
getAllInstituteNameByType()
All School Data(Banga Medium School, English Medium School, Madrasa):
getAllSchools(),
getAllSchoolNames(),
getSchoolByEiin(),
getSchoolByName(),
getAllSchoolByVersion(),
getAllSchoolNameByVersion(),
getSchoolNameByEiin()
All College Data:
getAllCollege(),
getAllCollegeNames(),
getCollegeByEiin(),
getCollegeNameByEiin(),
getCollegeByName()
All University Data (Public, Private, National University):
getAllUnis(),
getAllUniNames(),
getUniByName(),
getUniByShortName(),
getUniNameByShortName(),
getAllUniByCategory(),
getAllUniNameByCategory(),
getAllUnisByDepartment(),
getAllUniNameByDepartment()
Usage/Examples
Import from package
import {getAllInstitute,
getAllInstituteNames,
getAllInstituteByType,
getAllInstituteNameByType,
getAllSchools,
getAllSchoolNames,
getSchoolByEiin,
getSchoolByName,
getAllSchoolByVersion,
getAllSchoolNameByVersion,
getSchoolNameByEiin,
getAllCollege,
getAllCollegeNames,
getCollegeByEiin,
getCollegeNameByEiin,
getCollegeByName,
getAllUnis,
getAllUniNames,
getUniByName,
getUniByShortName,
getUniNameByShortName,
getAllUniByCategory,
getAllUniNameByCategory,
getAllUnisByDepartment,
getAllUniNameByDepartment} from 'bd-instituition-list-by-solutya'
getAllInstitute();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllInstitute();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
</>
))}
</div>
)
}
getAllInstituteNames();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllInstituteNames();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getAllInstituteByType('type'); //school, college, university
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllInstituteByType('school')
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
</>
))}
</div>
)
}
getAllInstituteNameByType('type'); //school, college, university
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllInstituteNameByType('school')
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getAllSchools();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllSchools();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
<p>{item?.version}</p>
</>
))}
</div>
)
}
getAllSchoolNames();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllSchoolNames();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getSchoolByEiin(eiin);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getSchoolByEiin(100012);
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
<p>{item?.version}</p>
</>
))}
</div>
)
}
getSchoolNameByEiin(eiin);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getSchoolNameByEiin(100012);
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getSchoolByName(name);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getSchoolByName('SHAHEED ALTAF MAHMUD SECONDARY SCHOOL');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
<p>{item?.version}</p>
</>
))}
</div>
)
}
getAllSchoolByVersion(version); //arabic, bangla, english
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllSchoolByVersion('arabic');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
<p>{item?.version}</p>
</>
))}
</div>
)
}
getAllSchoolNameByVersion(version); //arabic, bangla, english
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllSchoolNameByVersion('english');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getAllCollege();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllCollege();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
</>
))}
</div>
)
}
getAllCollegeNames();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllCollegeNames();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getCollegeByEiin(eiin);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getCollegeByEiin(109051);
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
</>
))}
</div>
)
}
getCollegeNameByEiin(eiin);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getCollegeNameByEiin(109051);
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getCollegeByName(name);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getCollegeByName('SHAHAJUDDIN SARKER MODEL HIGHER SECONDARY SCHOOL');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.eiin}</p>
<p>{item?.institutionType}</p>
</>
))}
</div>
)
}
getAllUnis();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUnis();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.shortName}</p>
<p>{item?.institutionType}</p>
<p>{item?.category}</p>
<p>{item?.department}</p>
</>
))}
</div>
)
}
getAllUniNames();
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUniNames();
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getUniByName(name);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getUniByName('University of Dhaka');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.shortName}</p>
<p>{item?.institutionType}</p>
<p>{item?.category}</p>
<p>{item?.department}</p>
</>
))}
</div>
)
}
getUniByShortName(shortName);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getUniByShortName('DU');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.shortName}</p>
<p>{item?.institutionType}</p>
<p>{item?.category}</p>
<p>{item?.department}</p>
</>
))}
</div>
)
}
getUniNameByShortName(shortName);
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getUniNameByShortName('DU');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getAllUniByCategory(category); //public, private, nu
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUniByCategory('public');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.shortName}</p>
<p>{item?.institutionType}</p>
<p>{item?.category}</p>
<p>{item?.department}</p>
</>
))}
</div>
)
}
getAllUniNameByCategory(category);//public, private, nu
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUniNameByCategory('private');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
getAllUnisByDepartment(department); //general, engineering, medical, dental
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUnisByDepartment('medical');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item?.name}</p>
<p>{item?.shortName}</p>
<p>{item?.institutionType}</p>
<p>{item?.category}</p>
<p>{item?.department}</p>
</>
))}
</div>
)
}
getAllUniNameByDepartment(department); //general, engineering, medical, dental
function App() {
const [data, setData] = useState([]);
useEffect(() => {
const getData = async () => {
const result = await getAllUniNameByDepartment('general');
setData(result);
};
getData();
}, []);
return (
<div className="App">
{data.map((item,index)=>(
<>
<p>{item}</p>
</>
))}
</div>
)
}
Authors
Badges
Acknowledgements
The data provided in this npm package is sourced from various publicly available data on the internet, primarily collected from Google search results. We extend our gratitude to the following sources for providing valuable information:
- Bangladesh Ministry of Education
- National University of Bangladesh.
We acknowledge the contributions of these entities in making educational data accessible and strive to maintain the accuracy and integrity of the information provided in this package.