TeoCavi/ProfileHub-BK
0
ProfileHub: DOI Metadata API
A lightweight Flask API that receives a DOI and returns metadata using CrossRef.
✨ Features
- Accepts DOI via GET query parameter
- Returns title, journal, year, type
- Designed to be used as backend for dynamic academic profile sites
📦 How to use
Example:
GET /metadata?doi=10.1016/j.compmedimag.2024.102302Returns:
{
"title": "...",
"journal": "...",
"year": 2024,
"type": "Research Article"
}🚀 Deploy on Hugging Face Spaces
- Create a new Space → SDK: Flask
- Upload
app.py,requirements.txt,LICENSE,README.md - Wait for automatic build (few seconds)
- Use endpoint:
https://<username>.hf.space/metadata?doi=...
MIT Licensed — Matteo Cavicchioli, 2025
